shoop.front.apps.registration package¶
Submodules¶
shoop.front.apps.registration.settings module¶
-
shoop.front.apps.registration.settings.SHOOP_REGISTRATION_REQUIRES_ACTIVATION= True¶ Require email-based activation for users?
This corresponds to using the
defaultorsimpledjango-registrationbackends.
shoop.front.apps.registration.urls module¶
shoop.front.apps.registration.views module¶
-
class
shoop.front.apps.registration.views.RegistrationViewMixin[source]¶ Bases:
object-
template_name= 'shoop/registration/register.jinja'¶
-
-
class
shoop.front.apps.registration.views.RegistrationNoActivationView(**kwargs)[source]¶ Bases:
shoop.front.apps.registration.views.RegistrationViewMixin,registration.backends.simple.views.RegistrationViewConstructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
class
shoop.front.apps.registration.views.RegistrationWithActivationView(**kwargs)[source]¶ Bases:
shoop.front.apps.registration.views.RegistrationViewMixin,registration.backends.default.views.RegistrationViewConstructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
class
shoop.front.apps.registration.views.RegistrationView(**kwargs)[source]¶ Bases:
django.views.generic.base.ViewConstructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
Module contents¶
Shoop Registration Add-on¶
The shoop.front.apps.registration add-on provides simple user registration and email token based activation.
It is based on the django-registration-redux package.
Installation¶
Add registration and shoop.front.apps.registration
into your INSTALLED_APPS (and run migrations, of course).
The application registers its URLs via the front_urls provides
mechanism.
URL names¶
shoop:registration_register– the entry point for registration.
-
class
shoop.front.apps.registration.RegistrationAppConfig(*args, **kwargs)[source]¶ Bases:
shoop.apps.AppConfig-
name= 'shoop.front.apps.registration'¶
-
verbose_name= 'Shoop Frontend - User Registration'¶
-
label= 'shoop_front.registration'¶
-
required_installed_apps= {'registration': 'django-registration-redux is required for user registration and activation'}¶
-
provides= {'front_urls': ['shoop.front.apps.registration.urls:urlpatterns']}¶
-