From 1c78bf53dbc4f75cfdc240c72f4db9d2376cb9cb Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Thu, 6 Sep 2012 13:49:15 +0100 Subject: Refactoring some basics --- djangorestframework/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'djangorestframework/exceptions.py') diff --git a/djangorestframework/exceptions.py b/djangorestframework/exceptions.py index 0b4dacf7..3f5b23f6 100644 --- a/djangorestframework/exceptions.py +++ b/djangorestframework/exceptions.py @@ -25,7 +25,7 @@ class ParseError(APIException): class PermissionDenied(APIException): status_code = status.HTTP_403_FORBIDDEN - default_detail = 'You do not have permission to access this resource.' + default_detail = 'You do not have permission to perform this action.' def __init__(self, detail=None): self.detail = detail or self.default_detail -- cgit v1.2.3