aboutsummaryrefslogtreecommitdiffstats
path: root/account/admin.py
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-06-07 13:06:21 +0800
committerWeitian LI <liweitianux@gmail.com>2014-06-07 13:08:11 +0800
commitbd5a374373581e16dc6489ba6216cd3743acc3e7 (patch)
tree0ba8fc8a085e6a7b47a7bdcb2f787efaebcfbbd9 /account/admin.py
parente9a9956634b7ba0bdc0dab47cf6e3ab01c7f9c4b (diff)
downloaddjango-skaschool-bd5a374373581e16dc6489ba6216cd3743acc3e7.tar.bz2
Added fields 'sjtu_id' & 'sjtu_initpass' to UserProfile model
* added fields 'sjtu_id' & 'sjtu_initpass' to UserProfile model * updated 'dump()' and 'dump_fieldnames()' method * updated 'UserProfileAdmin' to show these fields * added south migration 0004 for newly added two fields
Diffstat (limited to 'account/admin.py')
-rw-r--r--account/admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/account/admin.py b/account/admin.py
index abab07f..bab242b 100644
--- a/account/admin.py
+++ b/account/admin.py
@@ -48,6 +48,8 @@ class UserProfileAdmin(admin.ModelAdmin):
'is_approved_html',
'is_sponsored_html',
'is_checkin_html',
+ 'sjtu_id',
+ 'sjtu_initpass',
)
# fields used to filter rows
list_filter = (