diff options
| author | Tom Christie | 2012-09-06 13:49:15 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-09-06 13:49:15 +0100 |
| commit | 1c78bf53dbc4f75cfdc240c72f4db9d2376cb9cb (patch) | |
| tree | a481ddfe54444e8187de741db792fdbcb00ad712 /djangorestframework/exceptions.py | |
| parent | d52b4c5c6109c2d52125cb3dde16f9ce4004a98d (diff) | |
| download | django-rest-framework-1c78bf53dbc4f75cfdc240c72f4db9d2376cb9cb.tar.bz2 | |
Refactoring some basics
Diffstat (limited to 'djangorestframework/exceptions.py')
| -rw-r--r-- | djangorestframework/exceptions.py | 2 |
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 |
