class PasswordContextMixin

from django.contrib.auth.views import PasswordContextMixin
Hierarchy diagram Documentation Source code

Attributes

  Defined in
extra_context = None PasswordContextMixin
Expand Collapse

Methods

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