aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/exceptions.py
diff options
context:
space:
mode:
authorTom Christie2012-09-06 13:49:15 +0100
committerTom Christie2012-09-06 13:49:15 +0100
commit1c78bf53dbc4f75cfdc240c72f4db9d2376cb9cb (patch)
treea481ddfe54444e8187de741db792fdbcb00ad712 /djangorestframework/exceptions.py
parentd52b4c5c6109c2d52125cb3dde16f9ce4004a98d (diff)
downloaddjango-rest-framework-1c78bf53dbc4f75cfdc240c72f4db9d2376cb9cb.tar.bz2
Refactoring some basics
Diffstat (limited to 'djangorestframework/exceptions.py')
-rw-r--r--djangorestframework/exceptions.py2
1 files changed, 1 insertions, 1 deletions
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