Mercurial > public > sg101
comparison gpp/bio/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 | 7ea842744a57 |
comparison
equal
deleted
inserted
replaced
0:900ba3c7b765 | 1:dbd703f7d63a |
---|---|
1 """ | |
2 This file contains the admin definitions for the bio application. | |
3 """ | |
4 | |
5 from django.contrib import admin | |
6 from bio.models import UserProfile | |
7 | |
8 class UserProfileAdmin(admin.ModelAdmin): | |
9 search_fields = ('user__username', 'user__first_name', 'user__last_name', 'user__email') | |
10 exclude = ('profile_html', 'signature_html') | |
11 | |
12 admin.site.register(UserProfile, UserProfileAdmin) | |
13 | |
14 | |
15 # vim: ts=4 sw=4 |