view gpp/podcast/admin.py @ 384:957955279a15

Fixing #188; improve number of SQL queries for mark all forums read and add the button on the view topics with unread posts view.
author Brian Neal <bgneal@gmail.com>
date Wed, 16 Mar 2011 01:49:10 +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)