Skip to content

Commit

Permalink
Added Title to admin.py so it might actually show up in parts of the …
Browse files Browse the repository at this point in the history
…admin. Shocking, I know.

git-svn-id: http://django-podcast.googlecode.com/svn@51 7eeeb57b-9f54-0410-948d-eb906a2a6a24
  • Loading branch information
richardcornish committed Nov 20, 2008
1 parent 391145b commit 1cab816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trunk/podcast/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ class EnclosureInline(admin.StackedInline):
extra = 1
fieldsets = (
(None, {
'fields': ('file', ('mime', 'medium'), 'expression', 'frame', 'bitrate', 'sample', 'channel', ('algo', 'hash'), 'player', 'embed', ('width', 'height')),
'fields': ('title', 'file', ('mime', 'medium'), 'expression', 'frame', 'bitrate', 'sample', 'channel', ('algo', 'hash'), 'player', 'embed', ('width', 'height')),
'description': ('Only the first <em>saved</em> enclosure is displayed in plain RSS and iTunes feeds')
}),
)

class EnclosureAdmin(admin.ModelAdmin):
list_display = ('file', 'mime')
list_display = ('title', 'file', 'player', 'mime')
list_filter = ('mime',)

class EpisodeAdmin(admin.ModelAdmin):
Expand Down

0 comments on commit 1cab816

Please sign in to comment.