shuup.admin.modules.product_types.views package¶
Submodules¶
shuup.admin.modules.product_types.views.edit module¶
-
class
shuup.admin.modules.product_types.views.edit.
ProductTypeForm
(**kwargs)[source]¶ Bases:
shuup.utils.multilanguage_model_form.MultiLanguageModelForm
-
ProductTypeForm.
base_fields
= OrderedDict([('attributes', <shuup.admin.forms.fields.Select2MultipleField object at 0x7fabcd939278>), ('name', <django.forms.fields.CharField object at 0x7fabce49f0f0>)])¶
-
ProductTypeForm.
declared_fields
= OrderedDict([('attributes', <shuup.admin.forms.fields.Select2MultipleField object at 0x7fabcd939278>), ('name', <django.forms.fields.CharField object at 0x7fabce49f0f0>)])¶
-
ProductTypeForm.
media
¶
-
-
class
shuup.admin.modules.product_types.views.edit.
ProductTypeEditView
(**kwargs)[source]¶ Bases:
shuup.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model
¶ alias of
ProductType
-
form_class
¶ alias of
ProductTypeForm
-
template_name
= 'shuup/admin/product_types/edit.jinja'¶
-
context_object_name
= 'product_type'¶
-
shuup.admin.modules.product_types.views.list module¶
Module contents¶
-
class
shuup.admin.modules.product_types.views.
ProductTypeEditView
(**kwargs)[source]¶ Bases:
shuup.admin.utils.views.CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
context_object_name
= 'product_type'¶
-
form_class
¶ alias of
ProductTypeForm
-
model
¶ alias of
ProductType
-
template_name
= 'shuup/admin/product_types/edit.jinja'¶
-