Mercurial > public > sg101
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gpp/accounts/admin.py Mon Apr 06 02:43:12 2009 +0000 @@ -0,0 +1,13 @@ +"""This file contains the automatic admin site definitions for the accounts Models""" + +from django.contrib import admin +from accounts.models import IllegalUsername +from accounts.models import IllegalEmail +from accounts.models import PendingUser + +class PendingUserAdmin(admin.ModelAdmin): + list_display = ('username', 'email', 'date_joined') + +admin.site.register(IllegalUsername) +admin.site.register(IllegalEmail) +admin.site.register(PendingUser, PendingUserAdmin)