From f36c475dd6ddf030743f73b0c563ad0165b00310 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Wed, 30 Apr 2014 19:47:12 +0800 Subject: * fixed attachments.short_description of UserProfileAdmin * updated related zh_CN messages --- account/admin.py | 1 + 1 file changed, 1 insertion(+) (limited to 'account') 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) -- cgit v1.2.2