summaryrefslogtreecommitdiffstats
path: root/todolists
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-12-31 16:42:06 +0100
committerDan McGee <dan@archlinux.org>2012-12-31 16:42:06 +0100
commit58a4ecb0baca75e0acd67396c3564a1e0b1bb4b5 (patch)
treeb075d63196029407fec9915e11af75b445916390 /todolists
parent7620eff2f2f77b86f07cc6224bee54685cc1b3ab (diff)
downloadarchweb-58a4ecb0baca75e0acd67396c3564a1e0b1bb4b5.tar.gz
archweb-58a4ecb0baca75e0acd67396c3564a1e0b1bb4b5.tar.xz
Small admin tweaks for todolists filtering
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'todolists')
-rw-r--r--todolists/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/todolists/admin.py b/todolists/admin.py
index 181febb..246a8bc 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'