shuup.front.apps.personal_order_history package

Submodules

shuup.front.apps.personal_order_history.dashboard_items module

class shuup.front.apps.personal_order_history.dashboard_items.OrderHistoryItem(request)[source]

Bases: shuup.front.utils.dashboard.DashboardItem

title = 'Order history'
template_name = 'shuup/personal_order_history/dashboard.jinja'
icon = 'fa fa-sticky-note-o'
view_text = 'Show all'
get_context()[source]

shuup.front.apps.personal_order_history.urls module

shuup.front.apps.personal_order_history.views module

class shuup.front.apps.personal_order_history.views.OrderViewMixin[source]

Bases: object

model

alias of Order

get_queryset()[source]
class shuup.front.apps.personal_order_history.views.OrderListView(**kwargs)[source]

Bases: shuup.front.views.dashboard.DashboardViewMixin, shuup.front.apps.personal_order_history.views.OrderViewMixin, django.views.generic.list.ListView

Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.

template_name = 'shuup/personal_order_history/order_list.jinja'
context_object_name = 'orders'
class shuup.front.apps.personal_order_history.views.OrderDetailView(**kwargs)[source]

Bases: shuup.front.views.dashboard.DashboardViewMixin, shuup.front.apps.personal_order_history.views.OrderViewMixin, django.views.generic.detail.DetailView

Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.

template_name = 'shuup/personal_order_history/order_detail.jinja'
context_object_name = 'order'
get_context_data(**kwargs)[source]
class shuup.front.apps.personal_order_history.views.ReorderView(**kwargs)[source]

Bases: django.views.generic.base.View

Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.

get(request, *args, **kwargs)[source]

Module contents

class shuup.front.apps.personal_order_history.AppConfig(*args, **kwargs)[source]

Bases: shuup.apps.AppConfig

name = 'shuup.front.apps.personal_order_history'
verbose_name = 'Shuup Frontend - Personal Order History'
label = 'shuup_front.personal_order_history'
provides = {'front_urls': ['shuup.front.apps.personal_order_history.urls:urlpatterns'], 'customer_dashboard_items': ['shuup.front.apps.personal_order_history.dashboard_items:OrderHistoryItem']}