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
¶
197 198 199 200 201 202 203 | def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context.update({ 'title': self.title, **(self.extra_context or {}) }) return context |