Add todo filter to Influence admin.
authorMatthijs Kooijman <matthijs@stdin.nl>
Sun, 16 Nov 2008 17:13:24 +0000 (18:13 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Sun, 16 Nov 2008 17:13:24 +0000 (18:13 +0100)
influences/admin.py

index 3b48f930ed86706d21fd55842c666c6f03f2873b..8abe6cc5334ec9c26847747d4b57baf6f5268216 100644 (file)
@@ -18,7 +18,7 @@ class CharacterAdmin(admin.ModelAdmin):
 admin.site.register(Character, CharacterAdmin)
 
 class InfluenceAdmin(admin.ModelAdmin):
-    list_filter=('character', 'status', 'longterm')
+    list_filter=('character', 'status', 'longterm', 'todo')
     search_fields=('character', 'summary', 'description', 'contact')
     list_display=('character', 'contact', 'summary', 'longterm', 'status')