diff options
author | Parth Buch | 2012-07-20 18:38:03 +0530 |
---|---|---|
committer | Parth Buch | 2012-07-20 18:38:03 +0530 |
commit | 917cb4e388cdddeb4aaec0028e3ad8a6552e5d84 (patch) | |
tree | fc33a90a71f2e4de76ec8dd479ae91feb8a87a0e /stapp | |
parent | 8d3f50af512b0f2b9ac9aef76ccf24a4f97c0481 (diff) | |
download | stproject-917cb4e388cdddeb4aaec0028e3ad8a6552e5d84.tar.gz stproject-917cb4e388cdddeb4aaec0028e3ad8a6552e5d84.tar.bz2 stproject-917cb4e388cdddeb4aaec0028e3ad8a6552e5d84.zip |
Admin site now displays videos and module names instead of description
Diffstat (limited to 'stapp')
-rw-r--r-- | stapp/video/admin.py | 8 |
1 files 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) |