From 8e1d11c059b296b5f8abf975f34e489615ebad89 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 19 Oct 2010 12:22:21 +0200 Subject: [PATCH] tickets: Remove the "payment" field from the booking form. --- tickets/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tickets/views.py b/tickets/views.py index f0cdfa4..d37674b 100644 --- a/tickets/views.py +++ b/tickets/views.py @@ -9,6 +9,7 @@ from models import Booking class BookingForm(django.forms.ModelForm): class Meta: model=Booking + exclude=['payment'] def confirm_booking(booking): from django.core.mail import EmailMessage -- 2.30.2