comparison gpp/podcast/admin.py @ 277:d424b8bae71d

Fixing #128 and #129. Add elsewhere weblinks to search content. Add support for haystack's get_update_field() method.
author Brian Neal <bgneal@gmail.com>
date Sat, 02 Oct 2010 23:24:39 +0000
parents 49b713bca29d
children
comparison
equal deleted inserted replaced
276:8a46843c258f 277:d424b8bae71d
4 4
5 from django.contrib import admin 5 from django.contrib import admin
6 from podcast.models import Channel 6 from podcast.models import Channel
7 from podcast.models import Item 7 from podcast.models import Item
8 8
9 class ItemAdmin(admin.ModelAdmin):
10 readonly_fields = ('update_date', )
9 11
10 admin.site.register(Channel) 12 admin.site.register(Channel)
11 admin.site.register(Item) 13 admin.site.register(Item, ItemAdmin)