Ticket #3087: patch.diff
File patch.diff, 716 bytes (added by , 18 years ago) |
---|
-
django/contrib/admin/views/decorators.py
102 102 else: 103 103 request.session.delete_test_cookie() 104 104 return http.HttpResponseRedirect(request.path) 105 elif user.is_active and not user.is_staff: 106 message = _("You do not have the correct permissions to view this site.") 107 return _display_login_form(request, message) 105 108 else: 106 109 return _display_login_form(request, ERROR_MESSAGE) 107 110