gremmie@1: """ gremmie@1: This file contains the automatic admin site definitions for the shoutbox models. gremmie@1: """ gremmie@1: from django.contrib import admin gremmie@1: from shoutbox.models import Shout gremmie@1: gremmie@1: class ShoutAdmin(admin.ModelAdmin): gremmie@1: list_display = ('shout_date', '__unicode__') gremmie@1: raw_id_fields = ('user', ) gremmie@1: gremmie@1: admin.site.register(Shout, ShoutAdmin)