From 4bbb74401354c118ddbc0aebf131a5253ba5f48b Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Tue, 29 Apr 2014 11:04:43 +0800 Subject: Replaced get_object_or_404 with query in ListApprovedView, thus admin can browser approved user list normally. --- account/templates/account/list_approved.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'account/templates') diff --git a/account/templates/account/list_approved.html b/account/templates/account/list_approved.html index 6295765..a58312b 100644 --- a/account/templates/account/list_approved.html +++ b/account/templates/account/list_approved.html @@ -15,7 +15,7 @@

审定名单


{# alert if the user not approved #} - {% if profile.is_approved == 'N' %} + {% if profile and profile.is_approved == 'N' %}
很抱歉,您未能被批准参加本次SKA暑期学校,感谢您的关注和参与。
-- cgit v1.2.2