bornhack-website/shop/forms.py
2016-05-14 19:20:47 +02:00

12 lines
214 B
Python

from django import forms
from .models import Order
class CheckoutForm(forms.Form):
# no fields here, just three submit buttons
pass
class AddToOrderForm(forms.Form):
quantity = forms.IntegerField()