# HG changeset patch # User Brian Neal # Date 1379804817 18000 # Node ID 8b027e7a7977764767f9e9e631d34773dba88f99 # Parent c0199d3d3b86be7096dcc92fe42b3b3798168bc4 Sigh, fix last commit. diff -r c0199d3d3b86 -r 8b027e7a7977 user_photos/views.py --- a/user_photos/views.py Sat Sep 21 17:18:34 2013 -0500 +++ b/user_photos/views.py Sat Sep 21 18:06:57 2013 -0500 @@ -58,9 +58,9 @@ """ if not request.user.is_authenticated(): - return HttpResponseForbidden() + return HttpResponseForbidden('Please login to use this service') if not request.is_ajax() or request.method != 'POST': - return HttpResponseNotAllowed() + return HttpResponseNotAllowed('This method is not allowed') ret = {'success': False, 'msg': '', 'url': ''} if settings.USER_PHOTOS_ENABLED: