class PasswordContextMixin
from django.contrib.auth.views import PasswordContextMixin
Attributes
Defined in | |
---|---|
extra_context = None
|
PasswordContextMixin |
Methods
def
get_context_data(self, **kwargs):
PasswordContextMixin
¶
def
get_context_data(self, **kwargs):
PasswordContextMixin
¶
417 418 419 420 421 422 | def get_context_data(self, **kwargs):
context = super(PasswordContextMixin, self).get_context_data(**kwargs)
context['title'] = self.title
if self.extra_context is not None:
context.update(self.extra_context)
return context
|