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

199
200
201
202
203
204
205
def get_context_data(self, **kwargs):
    context = super().get_context_data(**kwargs)
    context.update({
        'title': self.title,
        **(self.extra_context or {})
    })
    return context