shoop.front.views package

Submodules

shoop.front.views.basket module

class shoop.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 = 'shoop/front/basket/default_basket.jinja'
get_context_data(**kwargs)[source]
class shoop.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]

shoop.front.views.category module

class shoop.front.views.category.ProductListForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False)[source]

Bases: django.forms.forms.Form

base_fields = OrderedDict([('sort', <django.forms.fields.CharField object at 0x7f5304ca66d8>), ('manufacturers', <django.forms.models.ModelMultipleChoiceField object at 0x7f5304ca6b70>)])
declared_fields = OrderedDict([('sort', <django.forms.fields.CharField object at 0x7f5304ca66d8>), ('manufacturers', <django.forms.models.ModelMultipleChoiceField object at 0x7f5304ca6b70>)])
media
class shoop.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 = 'shoop/front/product/category.jinja'
model

alias of Category

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

shoop.front.views.checkout module

class shoop.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.

phase_specs = []
empty_phase_spec = None
dispatch(request, *args, **kwargs)[source]

shoop.front.views.index module

class shoop.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 = 'shoop/front/index.jinja'
get_context_data(**kwargs)[source]

shoop.front.views.order module

class shoop.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 = 'shoop/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 shoop.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 = 'shoop/front/order/requires_verification.jinja'
model

alias of Order

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

shoop.front.views.payment module

shoop.front.views.payment.get_payment_urls(request, order)[source]
class shoop.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]

shoop.front.views.product module

class shoop.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 = 'shoop/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