From 917cb4e388cdddeb4aaec0028e3ad8a6552e5d84 Mon Sep 17 00:00:00 2001 From: Parth Buch Date: Fri, 20 Jul 2012 18:38:03 +0530 Subject: Admin site now displays videos and module names instead of description --- stapp/video/admin.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stapp/video/admin.py b/stapp/video/admin.py index 8c9ce49..00d2343 100644 --- a/stapp/video/admin.py +++ b/stapp/video/admin.py @@ -15,14 +15,14 @@ class CommonMedia: # let's add it to this model site.register(Video, - list_display = ('description',), - search_fields = ['description',], + list_display = ('name',), + search_fields = ['name',], Media = CommonMedia, ) site.register(Module, - list_display = ('description',), - search_fields = ['description',], + list_display = ('name',), + search_fields = ['name',], Media = CommonMedia, ) #admin.site.register(Video) -- cgit