def get_context_data(self, **kwargs): # Deprecation warning is triggered inside collect_context_modifiers # remove this in 1.5 context = super(TranslatableModelFormMixin, self).get_context_data(**kwargs) context.update(collect_context_modifiers(self, extra_kwargs=kwargs)) return context
def get_context_data(self, **kwargs): context = super(TranslatableBaseView, self).get_context_data(**kwargs) context.update(collect_context_modifiers(self, extra_kwargs=kwargs)) return context