1. Preston Holmes
  2. django-tickets

Commits

Preston Holmes  committed 5c91a55

add status filter to PurchaseAdmin

  • Participants
  • Parent commits 3e25190
  • Branches default

Comments (0)

Files changed (1)

File tickets/admin.py

View file
  • Ignore whitespace
 
 class PurchaseAdmin (admin.ModelAdmin):
     list_display = ('invoice','name','date','amount','status')
+    list_filter = ('status',)
     inlines = [TicketInline]
+    
 
 class TicketAdmin (admin.ModelAdmin):
     list_display = ('event','ticket_type','attendee','paid')