shuup.admin.views package
Submodules
shuup.admin.views.auth module
- class shuup.admin.views.auth.LogoutView(**kwargs)[source]
Bases:
LogoutViewConstructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
- template_name = 'shuup/admin/auth/logout.jinja'
- class shuup.admin.views.auth.LoginView(**kwargs)[source]
Bases:
LoginViewConstructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
- form_class
alias of
EmailAuthenticationForm
shuup.admin.views.dashboard module
- class shuup.admin.views.dashboard.DashboardView(**kwargs)[source]
Bases:
TemplateViewConstructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
- template_name = 'shuup/admin/dashboard/dashboard.jinja'
shuup.admin.views.edit module
shuup.admin.views.home module
- class shuup.admin.views.home.HelpBlockCategory(value)[source]
Bases:
Enum- PRODUCTS = 1
- ORDERS = 2
- CAMPAIGNS = 3
- CONTACTS = 4
- STOREFRONT = 5
- GENERAL = 200
shuup.admin.views.impersonate module
shuup.admin.views.password module
- class shuup.admin.views.password.RequestPasswordView(**kwargs)[source]
Bases:
FormViewConstructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
- template_name = 'shuup/admin/auth/request_password.jinja'
- class shuup.admin.views.password.ResetPasswordView(**kwargs)[source]
Bases:
FormViewConstructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
- template_name = 'shuup/admin/auth/reset_password.jinja'
- success_url = '/sa/'
- token_generator = <django.contrib.auth.tokens.PasswordResetTokenGenerator object>
shuup.admin.views.search module
shuup.admin.views.select module
- class shuup.admin.views.select.MultiselectAjaxView(**kwargs)[source]
Bases:
TemplateViewThis view is deprecated and it will be removed on version 3.
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
- model = None
- result_limit = 20
- init_search_fields(cls)[source]
Configure the fields to use for searching.
If the
clsobject has a search_fields attribute, it will be used, otherwise, the class will be inspected and the attributenameortranslations__namewill mainly be used.Other fields will be used for already known
clsinstances.
- class shuup.admin.views.select.ObjectSelectorView(**kwargs)[source]
Bases:
TemplateViewBase class for responding to searches from select2 components.
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
shuup.admin.views.tour module
shuup.admin.views.wizard module
- class shuup.admin.views.wizard.WizardFormDef(**kwargs)[source]
Bases:
WizardFormDefMixin,FormDef
- class shuup.admin.views.wizard.TemplatedWizardFormDef(**kwargs)[source]
Bases:
WizardFormDefMixin,TemplatedFormDef
- class shuup.admin.views.wizard.WizardPane(request, object=None)[source]
Bases:
FormPart- identifier = ''
- title = ''
- text = ''
- icon = ''
- can_skip = False
- editable = True