Forms¶
shopkit.core.forms
-
class
shopkit.core.forms.
CartItemAddForm
(data=None, files=None, auto_id=u'id_%s', prefix=None, initial=None, error_class=<class 'django.forms.util.ErrorList'>, label_suffix=u':', empty_permitted=False)¶ Bases:
django.forms.forms.Form
Form for adding CartItems to a Cart.
-
shopkit.core.forms.
get_product_choices
()¶ Get available products for shopping cart. This has to be wrapped in a SimpleLazyObject, otherwise Sphinx will complain in the worst ways.