Mercurial > public > sg101
view gpp/messages/admin.py @ 259:75ea1a8be7f2
Fix some old import problems where I used 'from django.contrib import auth' instead of 'from django.contrib.auth.models import User'. Also some formatting changes while I was in there.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 21 Sep 2010 23:49:05 +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)