예제 #1
0
 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
예제 #2
0
 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
예제 #3
0
 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
예제 #4
0
 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