changeset 144:49b713bca29d

Podcast: un-inlined the channel items from the channel. That would be too bulky and too much info on one admin screen.
author Brian Neal <bgneal@gmail.com>
date Sun, 06 Dec 2009 21:44:22 +0000
parents 1ed461fd2030
children 71cb4208dc98
files gpp/podcast/admin.py
diffstat 1 files changed, 2 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/gpp/podcast/admin.py	Sun Dec 06 21:28:31 2009 +0000
+++ b/gpp/podcast/admin.py	Sun Dec 06 21:44:22 2009 +0000
@@ -7,13 +7,5 @@
 from podcast.models import Item
 
 
-class ItemInline(admin.StackedInline):
-   model = Item
-   extra = 1
-
-
-class ChannelAdmin(admin.ModelAdmin):
-   inlines = (ItemInline, )
-
-
-admin.site.register(Channel, ChannelAdmin)
+admin.site.register(Channel)
+admin.site.register(Item)