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