Mercurial > public > sg101
view gpp/podcast/admin.py @ 481:9f888dbe61ce
Fixing #230; add a scrollbar to the PM popup dialog if necessary. This wasn't as easy as I thought. Had to wrap the PM text in a div with its styling (max-height and overflow). If I then resized the dialog, I'd get two scrollbars. So for now, made the dialog non-resizable.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 07 Oct 2011 02:11:33 +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)