tickets: Use the payment field in the admin.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 19 Oct 2010 10:22:46 +0000 (12:22 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 19 Oct 2010 10:22:46 +0000 (12:22 +0200)
tickets/admin.py

index fca553e28c206a65577ccf9fa7be9c2e0fefe728..a0ee028df8d4c0a5166d1fbf78a50e9e8c264d82 100644 (file)
@@ -2,8 +2,8 @@ from django.contrib import admin
 from models import Booking
 
 class BookingAdmin(admin.ModelAdmin):
-    list_filter=('show',)
+    list_filter=('show', 'payment')
     search_fields=('name', 'email')
-    list_display=('name', 'show', 'tickets', 'created')
+    list_display=('name', 'show', 'tickets', 'created', 'payment')
 
 admin.site.register(Booking, BookingAdmin)