shuup.front.admin_module package
Subpackages
- shuup.front.admin_module.carts package
- Subpackages
- shuup.front.admin_module.carts.views package
- Module contents
CartDetailViewCartListViewCartListView.__init__CartListView.default_columnsCartListView.format_finished_statusCartListView.format_taxful_total_priceCartListView.format_updated_dateCartListView.get_context_dataCartListView.get_object_abstractCartListView.get_querysetCartListView.mass_actions_provider_keyCartListView.modelCartListView.toolbar_buttons_provider_key
- Module contents
- shuup.front.admin_module.carts.views package
- Submodules
- shuup.front.admin_module.carts.form_parts module
- Module contents
- Subpackages
- shuup.front.admin_module.checkout package
- shuup.front.admin_module.companies package
- shuup.front.admin_module.sorts_and_filters package
- shuup.front.admin_module.translation package
Submodules
shuup.front.admin_module.forms module
Module contents
- class shuup.front.admin_module.CartAdminModule[source]
Bases:
AdminModule- name = 'Cart'
- Return type:
- get_model_url(object, kind, shop=None)[source]
Retrieve an admin URL for the given object of the kind
kind.A falsy value must be returned if the module does not know how to reverse the given object.
- Parameters:
object (django.db.models.Model) – A object instance (or object class).
kind (str) – URL kind. Currently “detail”, “list” or “new”.
shop (shuup.core.models.Shop|None) – The shop that owns the resource.
- Returns:
The reversed URL or none.
- Return type:
str|None