view gpp/podcast/admin.py @ 392:79240675b903

For #178; using the queued_search app to update the search index. Installed redis and dependencies.
author Brian Neal <bgneal@gmail.com>
date Wed, 23 Mar 2011 02:02:44 +0000
parents d424b8bae71d
children
line wrap: on
line source
'''
This file contains the automatic admin site definitions for the podcast models.
'''

from django.contrib import admin
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, ItemAdmin)