summaryrefslogtreecommitdiff
path: root/sublab_project/projects
diff options
context:
space:
mode:
authorMarkus Zapke-Grùˆndemann <info@keimlink.de>2011-12-30 01:54:52 +0100
committerMarkus Zapke-Grùˆndemann <info@keimlink.de>2011-12-30 01:54:52 +0100
commit3cc87b94ad57cf484453341c041bcf06c31981d3 (patch)
tree7108c2de7d6c4bf9efaf79fc1498b974526310d7 /sublab_project/projects
parentf63274bb0c00eda68b6e2fae564c4da8ae55b84d (diff)
Added filter, search and date hierarchy.
Diffstat (limited to 'sublab_project/projects')
-rw-r--r--sublab_project/projects/admin.py1
1 files changed, 1 insertions, 0 deletions
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)