From 62fe63bd033b8c4bd0095fb2fe4530a637acdf1d Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Thu, 12 May 2016 19:10:46 +0200 Subject: [PATCH] switch to a regular form --- shop/forms.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/shop/forms.py b/shop/forms.py index acd0e605..750c6555 100644 --- a/shop/forms.py +++ b/shop/forms.py @@ -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