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
¶
385 386 387 388 389 390 | def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['title'] = self.title
if self.extra_context is not None:
context.update(self.extra_context)
return context
|