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
|
||||
|
||||
|
||||
class CheckoutForm(forms.ModelForm):
|
||||
class Meta:
|
||||
model = Order
|
||||
fields = None
|
||||
class CheckoutForm(forms.Form):
|
||||
# no fields here, just three submit buttons
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in a new issue