summaryrefslogtreecommitdiff
path: root/todolists/admin.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-12-31 09:42:06 -0600
committerDan McGee <dan@archlinux.org>2012-12-31 09:42:06 -0600
commit58a4ecb0baca75e0acd67396c3564a1e0b1bb4b5 (patch)
treeb075d63196029407fec9915e11af75b445916390 /todolists/admin.py
parent7620eff2f2f77b86f07cc6224bee54685cc1b3ab (diff)
Small admin tweaks for todolists filtering
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'todolists/admin.py')
-rw-r--r--todolists/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/todolists/admin.py b/todolists/admin.py
index 181febb1..246a8bca 100644
--- a/todolists/admin.py
+++ b/todolists/admin.py
@@ -5,6 +5,7 @@ from .models import Todolist
class TodolistAdmin(admin.ModelAdmin):
list_display = ('name', 'creator', 'created', 'description')
+ list_filter = ('created', 'creator')
search_fields = ('name', 'description')
date_hierarchy = 'created'