Nadjib REBAHI
Nadjib REBAHI
> I've found no time implementing this in a test-branch, but I will give this a try in the future. > In many cases using [extensions](https://dart.dev/guides/language/extension-methods) helps to reduce unwrapping....
That would be very helpful. Are you working on it ? My application should try to fetch items from local database before trying to get them from remote database, that...
And this how my shared CreateView looks like : ``` class BaseCreateView(CreateView): template_name = 'stock/item-form.html' def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) verbose_name = self.model._meta.verbose_name context["page_title"] = _('Create new {}'.format(verbose_name)) context["action_type"]...