shuup.admin.modules.suppliers.views package
Submodules
shuup.admin.modules.suppliers.views.delete module
- class shuup.admin.modules.suppliers.views.delete.SupplierDeleteView(**kwargs)[source]
Bases:
DetailView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
shuup.admin.modules.suppliers.views.edit module
- class shuup.admin.modules.suppliers.views.edit.SupplierEditView(**kwargs)[source]
Bases:
SaveFormPartsMixin
,FormPartsViewMixin
,CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
- template_name = 'shuup/admin/suppliers/edit.jinja'
- context_object_name = 'supplier'
- base_form_part_classes: Any | Any = []
- get_object(queryset=None)[source]
Return the object the view is displaying.
Require
self.queryset
and apk
orslug
argument in the URLconf. Subclasses can override this to return any object.
shuup.admin.modules.suppliers.views.list module
- class shuup.admin.modules.suppliers.views.list.SupplierListView[source]
Bases:
PicotableListView
- default_columns = [<Column: Name> name, <Column: Type> type, <Column: Modules> supplier_modules]
Module contents
- class shuup.admin.modules.suppliers.views.SupplierDeleteView(**kwargs)[source]
Bases:
DetailView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
- class shuup.admin.modules.suppliers.views.SupplierEditView(**kwargs)[source]
Bases:
SaveFormPartsMixin
,FormPartsViewMixin
,CreateOrUpdateView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
- base_form_part_classes: Any | Any = []
- context_object_name = 'supplier'
- get_object(queryset=None)[source]
Return the object the view is displaying.
Require
self.queryset
and apk
orslug
argument in the URLconf. Subclasses can override this to return any object.
- get_queryset()[source]
Return the
QuerySet
that will be used to look up the object.This method is called by the default implementation of get_object() and may not be called if get_object() is overridden.
- template_name = 'shuup/admin/suppliers/edit.jinja'
- class shuup.admin.modules.suppliers.views.SupplierListView[source]
Bases:
PicotableListView
- default_columns = [<Column: Name> name, <Column: Type> type, <Column: Modules> supplier_modules]