comparison gpp/accounts/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 69d0306a6fe7
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 """This file contains the automatic admin site definitions for the accounts Models"""
2
3 from django.contrib import admin
4 from accounts.models import IllegalUsername
5 from accounts.models import IllegalEmail
6 from accounts.models import PendingUser
7
8 class PendingUserAdmin(admin.ModelAdmin):
9 list_display = ('username', 'email', 'date_joined')
10
11 admin.site.register(IllegalUsername)
12 admin.site.register(IllegalEmail)
13 admin.site.register(PendingUser, PendingUserAdmin)