From: Matthijs Kooijman Date: Tue, 19 Oct 2010 10:22:21 +0000 (+0200) Subject: tickets: Remove the "payment" field from the booking form. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=8e1d11c059b296b5f8abf975f34e489615ebad89;p=matthijs%2Fprojects%2Fdorestad-bookings.git tickets: Remove the "payment" field from the booking form. --- 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