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 from .models import Order
class CheckoutForm(forms.ModelForm): class CheckoutForm(forms.Form):
class Meta: # no fields here, just three submit buttons
model = Order pass
fields = None