gremmie@1: ''' gremmie@1: This file contains the automatic admin site definitions for the podcast models. gremmie@1: ''' gremmie@1: gremmie@1: from django.contrib import admin gremmie@1: from podcast.models import Channel gremmie@1: from podcast.models import Item gremmie@1: bgneal@277: class ItemAdmin(admin.ModelAdmin): bgneal@277: readonly_fields = ('update_date', ) gremmie@1: bgneal@144: admin.site.register(Channel) bgneal@277: admin.site.register(Item, ItemAdmin)