shuup.front.apps.auth package¶
Submodules¶
shuup.front.apps.auth.forms module¶
-
class
shuup.front.apps.auth.forms.
EmailAuthenticationForm
(*args, **kwargs)[source]¶ Bases:
django.contrib.auth.forms.AuthenticationForm
-
error_messages
= {'inactive': 'This account is inactive.', 'invalid_login': 'Please enter a correct %(username)s and password. Note that both fields may be case-sensitive. In case of multiple accounts with same email only username can be used to login.'}¶
-
base_fields
= OrderedDict([('username', <django.forms.fields.CharField object at 0x7fabcfb64da0>), ('password', <django.forms.fields.CharField object at 0x7fabcfb64e80>)])¶
-
declared_fields
= OrderedDict([('username', <django.forms.fields.CharField object at 0x7fabcfb64da0>), ('password', <django.forms.fields.CharField object at 0x7fabcfb64e80>)])¶
-
media
¶
-
shuup.front.apps.auth.settings module¶
shuup.front.apps.auth.urls module¶
shuup.front.apps.auth.views module¶
-
class
shuup.front.apps.auth.views.
LoginView
(**kwargs)[source]¶ Bases:
django.views.generic.edit.FormView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name
= 'shuup/user/login.jinja'¶
-
form_class
¶ alias of
EmailAuthenticationForm
-
-
class
shuup.front.apps.auth.views.
LogoutView
(**kwargs)[source]¶ Bases:
django.views.generic.base.TemplateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name
= 'shuup/user/logout.jinja'¶
-
-
class
shuup.front.apps.auth.views.
RecoverPasswordView
(**kwargs)[source]¶ Bases:
django.views.generic.edit.FormView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name
= 'shuup/user/recover_password.jinja'¶
-
form_class
¶ alias of
RecoverPasswordForm
-
success_url
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
-
class
shuup.front.apps.auth.views.
RecoverPasswordConfirmView
(**kwargs)[source]¶ Bases:
django.views.generic.edit.FormView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name
= 'shuup/user/recover_password_confirm.jinja'¶
-
form_class
¶ alias of
SetPasswordForm
-
token_generator
= <django.contrib.auth.tokens.PasswordResetTokenGenerator object>¶
-
success_url
= <django.utils.functional.lazy.<locals>.__proxy__ object>¶
-
-
class
shuup.front.apps.auth.views.
RecoverPasswordSentView
(**kwargs)[source]¶ Bases:
django.views.generic.base.TemplateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name
= 'shuup/user/recover_password_sent.jinja'¶
-
-
class
shuup.front.apps.auth.views.
RecoverPasswordCompleteView
(**kwargs)[source]¶ Bases:
django.views.generic.base.TemplateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name
= 'shuup/user/recover_password_complete.jinja'¶
-