From 7070fa298c86b11dba0a48058c183b844c78619c Mon Sep 17 00:00:00 2001 From: Craig Blaszczyk Date: Tue, 26 Jul 2011 12:10:54 +0100 Subject: [PATCH] change text of PERMISSION_DENIED response --- djangorestframework/permissions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangorestframework/permissions.py b/djangorestframework/permissions.py index cf131e0b6..731f4a203 100644 --- a/djangorestframework/permissions.py +++ b/djangorestframework/permissions.py @@ -28,7 +28,7 @@ _403_FORBIDDEN_RESPONSE = ErrorResponse( _403_NOT_LOGGED_IN_RESPONSE = ErrorResponse( status.HTTP_403_FORBIDDEN, - {'detail': 'You need to login to access this resource.'}) + {'detail': 'You need to login before you can access this resource.'}) _403_PERMISSION_DENIED_RESPONSE = ErrorResponse( status.HTTP_403_FORBIDDEN,