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

394
395
396
397
398
399
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