Mercurial > public > sg101
diff gpp/podcast/admin.py @ 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 | dbd703f7d63a |
children | d424b8bae71d |
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)