aboutsummaryrefslogtreecommitdiffstats
path: root/account/admin.py
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-30 19:47:12 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-30 19:47:12 +0800
commitf36c475dd6ddf030743f73b0c563ad0165b00310 (patch)
tree067ed8d5541f06fd36ed2fb0a0529067b7f7e2ff /account/admin.py
parenta390abcdd6b90810759a5178b8eae05fca0d7a6f (diff)
downloaddjango-skaschool-f36c475dd6ddf030743f73b0c563ad0165b00310.tar.bz2
* fixed attachments.short_description of UserProfileAdmin
* updated related zh_CN messages
Diffstat (limited to 'account/admin.py')
-rw-r--r--account/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/account/admin.py b/account/admin.py
index 04ebf3b..f491104 100644
--- a/account/admin.py
+++ b/account/admin.py
@@ -136,6 +136,7 @@ class UserProfileAdmin(admin.ModelAdmin):
else:
html = _("Null")
return format_html(html)
+ attachments.short_description = _("Attachments")
admin.site.register(UserProfile, UserProfileAdmin)