comparison gpp/shoutbox/admin.py @ 1:dbd703f7d63a

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children 777451a98f9d
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 """
2 This file contains the automatic admin site definitions for the shoutbox models.
3 """
4 from django.contrib import admin
5 from shoutbox.models import Shout
6
7 class ShoutAdmin(admin.ModelAdmin):
8 list_display = ('shout_date', '__unicode__')
9 raw_id_fields = ('user', )
10
11 admin.site.register(Shout, ShoutAdmin)