shuup.front.views package

Submodules

shuup.front.views.basket module

class shuup.front.views.basket.DefaultBasketView(**kwargs)[source]

Bases: django.views.generic.base.TemplateView

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

template_name = 'shuup/front/basket/default_basket.jinja'
get_context_data(**kwargs)[source]
class shuup.front.views.basket.BasketView(**kwargs)[source]

Bases: django.views.generic.base.View

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

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

shuup.front.views.category module

class shuup.front.views.category.CategoryView(**kwargs)[source]

Bases: django.views.generic.detail.DetailView

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

template_name = 'shuup/front/product/category.jinja'
model

alias of Category

template_object_name = 'category'
get_queryset()[source]
get_context_data(**kwargs)[source]

shuup.front.views.checkout module

class shuup.front.views.checkout.BaseCheckoutView(**kwargs)[source]

Bases: django.views.generic.base.View

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

url_namespace = 'shuup:checkout'
phase_specs = []
empty_phase_spec = None
initial_phase = None
process_class

alias of CheckoutProcess

dispatch(request, *args, **kwargs)[source]
get_url(**kwargs)[source]

Get URL for given kwargs within the checkout process in this view.

This can be overriden in a subclass to customize the URLs.

Return type:str
get_phase_url(phase)[source]

Get URL for the given phase in the checkout process of this view.

Return type:str

shuup.front.views.dashboard module

class shuup.front.views.dashboard.DashboardViewMixin[source]

Bases: object

get_context_data(**kwargs)[source]
get_menu_items()[source]
class shuup.front.views.dashboard.DashboardView(**kwargs)[source]

Bases: shuup.front.views.dashboard.DashboardViewMixin, django.views.generic.base.TemplateView

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

template_name = 'shuup/front/dashboard/dashboard.jinja'

shuup.front.views.index module

class shuup.front.views.index.IndexView(**kwargs)[source]

Bases: django.views.generic.base.TemplateView

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

template_name = 'shuup/front/index.jinja'
get_context_data(**kwargs)[source]

shuup.front.views.misc module

shuup.front.views.misc.toggle_all_seeing(request)[source]

shuup.front.views.order module

class shuup.front.views.order.OrderCompleteView(**kwargs)[source]

Bases: django.views.generic.detail.DetailView

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

template_name = 'shuup/front/order/complete.jinja'
model

alias of Order

context_object_name = 'order'
render_to_response(context, **response_kwargs)[source]
get_object(queryset=None)[source]
class shuup.front.views.order.OrderRequiresVerificationView(**kwargs)[source]

Bases: django.views.generic.detail.DetailView

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

template_name = 'shuup/front/order/requires_verification.jinja'
model

alias of Order

get_object(queryset=None)[source]
get_context_data(**kwargs)[source]
get(request, **kwargs)[source]

shuup.front.views.payment module

shuup.front.views.payment.get_payment_urls(request, order)[source]
class shuup.front.views.payment.ProcessPaymentView(**kwargs)[source]

Bases: django.views.generic.detail.DetailView

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

model

alias of Order

context_object_name = 'order'
get_object(queryset=None)[source]
get_context_data(**kwargs)[source]
dispatch(request, *args, **kwargs)[source]

shuup.front.views.product module

class shuup.front.views.product.ProductDetailView(**kwargs)[source]

Bases: django.views.generic.detail.DetailView

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

template_name = 'shuup/front/product/detail.jinja'
model

alias of Product

context_object_name = 'product'
get_queryset()[source]
get_context_data(**kwargs)[source]
get(request, *args, **kwargs)[source]

Module contents