switch to a regular form

This commit is contained in:
Thomas Steen Rasmussen 2016-05-12 19:10:46 +02:00
parent 82ae2b8c23
commit 62fe63bd03

View file

@ -2,8 +2,7 @@ from django import forms
from .models import Order
class CheckoutForm(forms.ModelForm):
class Meta:
model = Order
fields = None
class CheckoutForm(forms.Form):
# no fields here, just three submit buttons
pass