shuup.front.apps.saved_carts package¶
Submodules¶
shuup.front.apps.saved_carts.dashboard_items module¶
shuup.front.apps.saved_carts.urls module¶
shuup.front.apps.saved_carts.views module¶
-
class
shuup.front.apps.saved_carts.views.
CartViewMixin
[source]¶ Bases:
object
-
model
¶ alias of
StoredBasket
-
-
class
shuup.front.apps.saved_carts.views.
CartListView
(**kwargs)[source]¶ Bases:
shuup.front.views.dashboard.DashboardViewMixin
,shuup.front.apps.saved_carts.views.CartViewMixin
,django.views.generic.list.ListView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name
= 'shuup/saved_carts/cart_list.jinja'¶
-
context_object_name
= 'carts'¶
-
-
class
shuup.front.apps.saved_carts.views.
CartDetailView
(**kwargs)[source]¶ Bases:
shuup.front.views.dashboard.DashboardViewMixin
,shuup.front.apps.saved_carts.views.CartViewMixin
,django.views.generic.detail.DetailView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name
= 'shuup/saved_carts/cart_detail.jinja'¶
-
context_object_name
= 'cart'¶
-
-
class
shuup.front.apps.saved_carts.views.
CartSaveView
(**kwargs)[source]¶ Bases:
django.views.generic.base.View
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
class
shuup.front.apps.saved_carts.views.
CartAddAllProductsView
(**kwargs)[source]¶ Bases:
shuup.front.apps.saved_carts.views.CartViewMixin
,django.views.generic.detail.SingleObjectMixin
,django.views.generic.base.View
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
class
shuup.front.apps.saved_carts.views.
CartDeleteView
(**kwargs)[source]¶ Bases:
shuup.front.apps.saved_carts.views.CartViewMixin
,django.views.generic.detail.SingleObjectMixin
,django.views.generic.base.View
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
Module contents¶
-
class
shuup.front.apps.saved_carts.
AppConfig
(*args, **kwargs)[source]¶ Bases:
shuup.apps.AppConfig
-
name
= 'shuup.front.apps.saved_carts'¶
-
verbose_name
= 'Shuup Frontend - Saved Baskets'¶
-
label
= 'shuup_front.saved_baskets'¶
-
provides
= {'front_urls': ['shuup.front.apps.saved_carts.urls:urlpatterns'], 'customer_dashboard_items': ['shuup.front.apps.saved_carts.dashboard_items:SavedCartsItem']}¶
-