changeset 1112:654b55ad9134

Tweak countdown admin settings.
author Brian Neal <bgneal@gmail.com>
date Mon, 11 Jul 2016 21:44:09 -0500
parents 96a72f0e6767
children f27986c11ddf
files countdown/admin.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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']