From 3cc87b94ad57cf484453341c041bcf06c31981d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Zapke-Gru=CC=88ndemann?= Date: Fri, 30 Dec 2011 01:54:52 +0100 Subject: Added filter, search and date hierarchy. --- sublab_project/projects/admin.py | 1 + 1 file changed, 1 insertion(+) (limited to 'sublab_project/projects') diff --git a/sublab_project/projects/admin.py b/sublab_project/projects/admin.py index 74fd29a..e612bc4 100644 --- a/sublab_project/projects/admin.py +++ b/sublab_project/projects/admin.py @@ -6,6 +6,7 @@ from projects.models import Project class ProjectAdmin(admin.ModelAdmin): prepopulated_fields = {'slug': ('name',)} list_display = ('name', 'date_created', 'date_updated') + search_fields = ['name', 'description', 'contact_email', 'contact_url'] admin.site.register(Project, ProjectAdmin) -- cgit v1.2.1