switch to a regular form
This commit is contained in:
parent
82ae2b8c23
commit
62fe63bd03
|
@ -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
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue