shuup.admin.modules.service_providers.views package¶
Module contents¶
-
class
shuup.admin.modules.service_providers.views.
ServiceProviderDeleteView
(**kwargs)[source]¶ Bases:
django.views.generic.edit.DeleteView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
¶ alias of
ServiceProvider
-
success_url
= '/sa/service_provider/'¶
-
-
class
shuup.admin.modules.service_providers.views.
ServiceProviderEditView
(**kwargs)[source]¶ Bases:
shuup.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
add_form_errors_as_messages
= True¶
-
context_object_name
= 'service_provider'¶
-
form_class
¶ alias of
Form
-
form_provide_key
= 'service_provider_admin_form'¶
-
model
¶ alias of
ServiceProvider
-
template_name
= 'shuup/admin/service_providers/edit.jinja'¶
-
title
¶
-
-
class
shuup.admin.modules.service_providers.views.
ServiceProviderListView
[source]¶ Bases:
shuup.admin.utils.views.PicotableListView
-
default_columns
= [<Column: Name> name, <Column: Type> type]¶
-
mass_actions_provider_key
= 'service_provider_mass_actions_provider'¶
-
model
¶ alias of
ServiceProvider
-
-
class
shuup.admin.modules.service_providers.views.
CarrierWizardPane
(request, object=None)[source]¶ Bases:
shuup.admin.modules.service_providers.views._wizard.ServiceWizardFormPartMixin
,shuup.admin.views.wizard.WizardPane
-
base_name
= 'shipping_method_base'¶
-
form_def_provide_key
= 'carrier_wizard_form_def'¶
-
icon
= 'shuup_admin/img/shipping.png'¶
-
identifier
= 'carrier'¶
-
provider_label
= 'shipping method'¶
-
service_model
¶ alias of
ShippingMethod
-
text
= 'To start shipping products right away, please add shipping methods for your shop'¶
-
title
= 'Carrier'¶
-
-
class
shuup.admin.modules.service_providers.views.
PaymentWizardPane
(request, object=None)[source]¶ Bases:
shuup.admin.modules.service_providers.views._wizard.ServiceWizardFormPartMixin
,shuup.admin.views.wizard.WizardPane
-
base_name
= 'payment_method_base'¶
-
form_def_provide_key
= 'payment_processor_wizard_form_def'¶
-
icon
= 'shuup_admin/img/payment.png'¶
-
identifier
= 'payment'¶
-
provider_label
= 'payment method'¶
-
service_model
¶ alias of
PaymentMethod
-
text
= 'To start accepting payments right away, please add payment methods for your shop'¶
-
title
= 'Payment Provider'¶
-