Everything you wanted to know
about the Django framework

Класс PasswordContextMixin (Django 2.0)

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

Атрибуты

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

Методы

384
385
386
387
388
389
def get_context_data(self, **kwargs):
    context = super().get_context_data(**kwargs)
    context['title'] = self.title
    if self.extra_context is not None:
        context.update(self.extra_context)
    return context
Auth mixins
Auth views
generic
Generic base
Generic dates
Generic detail
Generic edit
Generic list