Everything you wanted to know
about the Django framework

Класс SuccessURLAllowedHostsMixin (Django 2.2)

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

Потомки

Атрибуты

  Определено в
success_url_allowed_hosts = set() SuccessURLAllowedHostsMixin

Методы

34
35
def get_success_url_allowed_hosts(self):
    return {self.request.get_host(), *self.success_url_allowed_hosts}
Auth mixins
Auth views
generic
Generic base
Generic dates
Generic detail
Generic edit
Generic list