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

205
206
207
208
209
210
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