Mercurial > public > sg101
view gpp/podcast/admin.py @ 473:5e826e232932
Fixing #224; make sure we block IP's that have tripped the rate limiter or have been manually blocked.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 27 Aug 2011 04:23:30 +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)