2016-05-10 20:20:01 +00:00
|
|
|
from django import forms
|
2016-05-12 16:16:25 +00:00
|
|
|
from .models import Order
|
|
|
|
|
2016-05-12 07:51:35 +00:00
|
|
|
|
2016-05-12 17:10:46 +00:00
|
|
|
class CheckoutForm(forms.Form):
|
|
|
|
# no fields here, just three submit buttons
|
|
|
|
pass
|
2016-05-12 07:51:35 +00:00
|
|
|
|
2016-05-13 06:36:56 +00:00
|
|
|
class AddToOrderForm(forms.Form):
|
|
|
|
# no fields, just a submit button
|
|
|
|
pass
|
|
|
|
|