view gpp/messages/admin.py @ 293:c92fb89dbc7d

Fixed a bug where if you tried to delete a topic the new last post might be in that topic, so a cascading delete would occur and the forum would get deleted.
author Brian Neal <bgneal@gmail.com>
date Wed, 29 Dec 2010 04:56:53 +0000
parents dbd703f7d63a
children c7c427411f03
line wrap: on
line source
"""
This file contains the automatic admin site definitions for the Message models.
"""

from django.contrib import admin
from messages.models import Message
from messages.models import Options

admin.site.register(Message)
admin.site.register(Options)