X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fdorestad-bookings.git;a=blobdiff_plain;f=tickets%2Fviews.py;h=d37674b14a9f77608d25310ecd8efa399f6f8321;hp=f0cdfa4be9d00616584d08ce01404dff4e9529e8;hb=8e1d11c059b296b5f8abf975f34e489615ebad89;hpb=e2c6c997620f91043c262d0bad0ed95306d69ceb 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