Everything you wanted to know
about the Django framework

Класс PasswordContextMixin (Django 2.2)

from django.contrib.auth.views import PasswordContextMixin
Диаграмма | Documentation | Исходный код

Атрибуты

  Определено в
extra_context = None PasswordContextMixin

Методы

197
198
199
200
201
202
203
def get_context_data(self, **kwargs):
    context = super().get_context_data(**kwargs)
    context.update({
        'title': self.title,
        **(self.extra_context or {})
    })
    return context
Auth mixins
Auth views
generic
Generic base
Generic dates
Generic detail
Generic edit
Generic list