diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-02-28 18:59:53 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2014-02-28 18:59:53 (GMT) |
commit | abc439740a24c503b8756aa30c57281a4cf6ad31 (patch) | |
tree | fe97b1f65ba89b7eefbc32d061939a3262650c51 /program | |
parent | f44cf6587f67095f777c4847e5cc12c5fbef957e (diff) |
fixed fields order.
Diffstat (limited to 'program')
-rw-r--r-- | program/admin.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/program/admin.py b/program/admin.py index 87cceba..6a542bc 100644 --- a/program/admin.py +++ b/program/admin.py @@ -71,6 +71,10 @@ class ShowAdmin(admin.ModelAdmin): ordering = ('slug',) prepopulated_fields = {'slug': ('name',)} search_fields = ('name', 'short_description', 'description') + fields = ( + 'predecessor', 'broadcastformat', 'name', 'slug', 'image', 'image_enabled', 'short_description', 'description', 'email', + 'website', 'cba_series_id', 'automation_id', 'hosts', 'owners', 'showinformation', 'showtopic', 'musicfocus', + ) admin.site.register(BroadcastFormat, BroadcastFormatAdmin) admin.site.register(MusicFocus, MusicFocusAdmin) |