From 58a4ecb0baca75e0acd67396c3564a1e0b1bb4b5 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 31 Dec 2012 09:42:06 -0600 Subject: Small admin tweaks for todolists filtering Signed-off-by: Dan McGee --- todolists/admin.py | 1 + 1 file changed, 1 insertion(+) (limited to 'todolists') 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' -- cgit v1.2.3-24-g4f1b