diff countdown/admin.py @ 1112:654b55ad9134

Tweak countdown admin settings.
author Brian Neal <bgneal@gmail.com>
date Mon, 11 Jul 2016 21:44:09 -0500
parents ecb8f07d937b
children
line wrap: on
line diff
--- a/countdown/admin.py	Sun Jul 10 21:58:22 2016 -0500
+++ b/countdown/admin.py	Mon Jul 11 21:44:09 2016 -0500
@@ -7,3 +7,5 @@
 class EventAdmin(admin.ModelAdmin):
     list_display = ['__unicode__', 'is_active']
     list_editable = ['is_active']
+    list_filter = ['is_active']
+    ordering = ['-event_date']