shoop.front.views package¶
Submodules¶
shoop.front.views.basket module¶
-
class
shoop.front.views.basket.DefaultBasketView(**kwargs)[source]¶ Bases:
django.views.generic.base.TemplateViewConstructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
template_name= 'shoop/front/basket/default_basket.jinja'¶
-
-
class
shoop.front.views.basket.BasketView(**kwargs)[source]¶ Bases:
django.views.generic.base.ViewConstructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
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.DetailViewConstructor. 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'¶
-
shoop.front.views.checkout module¶
shoop.front.views.index module¶
shoop.front.views.order module¶
-
class
shoop.front.views.order.OrderCompleteView(**kwargs)[source]¶ Bases:
django.views.generic.detail.DetailViewConstructor. 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'¶
-
-
class
shoop.front.views.order.OrderRequiresVerificationView(**kwargs)[source]¶ Bases:
django.views.generic.detail.DetailViewConstructor. 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
-
shoop.front.views.payment module¶
-
class
shoop.front.views.payment.ProcessPaymentView(**kwargs)[source]¶ Bases:
django.views.generic.detail.DetailViewConstructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
-
model¶ alias of
Order
-
context_object_name= 'order'¶
-
shoop.front.views.product module¶
-
class
shoop.front.views.product.ProductDetailView(**kwargs)[source]¶ Bases:
django.views.generic.detail.DetailViewConstructor. 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'¶
-