class SuccessURLAllowedHostsMixin

from django.contrib.auth.views import SuccessURLAllowedHostsMixin
Hierarchy diagram Documentation Source code

Descendants

Attributes

  Defined in
success_url_allowed_hosts = set() SuccessURLAllowedHostsMixin
Expand Collapse

Methods

def get_success_url_allowed_hosts(self): SuccessURLAllowedHostsMixin

34
35
def get_success_url_allowed_hosts(self):
    return {self.request.get_host(), *self.success_url_allowed_hosts}