diff 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
line wrap: on
line diff
--- a/gpp/podcast/admin.py	Thu Sep 30 00:06:04 2010 +0000
+++ b/gpp/podcast/admin.py	Sat Oct 02 23:24:39 2010 +0000
@@ -6,6 +6,8 @@
 from podcast.models import Channel
 from podcast.models import Item
 
+class ItemAdmin(admin.ModelAdmin):
+    readonly_fields = ('update_date', )
 
 admin.site.register(Channel)
-admin.site.register(Item)
+admin.site.register(Item, ItemAdmin)