projects
/
matthijs
/
projects
/
dorestad-bookings.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2c6c99
)
tickets: Remove the "payment" field from the booking form.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 19 Oct 2010 10:22:21 +0000
(12:22 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 19 Oct 2010 10:22:21 +0000
(12:22 +0200)
tickets/views.py
patch
|
blob
|
history
diff --git
a/tickets/views.py
b/tickets/views.py
index f0cdfa4be9d00616584d08ce01404dff4e9529e8..d37674b14a9f77608d25310ecd8efa399f6f8321 100644
(file)
--- 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