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

220
221
222
223
224
225
def get_context_data(self, **kwargs):
    context = super().get_context_data(**kwargs)
    context.update(
        {"title": self.title, "subtitle": None, **(self.extra_context or {})}
    )
    return context