summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2014-02-28 18:59:53 (GMT)
committerErnesto Rico-Schmidt <e.rico.schmidt@gmail.com>2014-02-28 18:59:53 (GMT)
commitabc439740a24c503b8756aa30c57281a4cf6ad31 (patch)
treefe97b1f65ba89b7eefbc32d061939a3262650c51
parentf44cf6587f67095f777c4847e5cc12c5fbef957e (diff)
fixed fields order.
-rw-r--r--program/admin.py4
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)