aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/exceptions.py
diff options
context:
space:
mode:
authorCraig Blaszczyk2014-12-31 12:49:20 +0000
committerCraig Blaszczyk2015-01-02 11:08:09 +0000
commitfaf76a4b75f12f3fa9de4e3ec455daa239af4d89 (patch)
tree4562309bdf69c05bae603f8117898ab8510518e0 /rest_framework/exceptions.py
parent0b8a83bd624673cb0a05e01c691729ccee3a8782 (diff)
downloaddjango-rest-framework-faf76a4b75f12f3fa9de4e3ec455daa239af4d89.tar.bz2
fix spelling & grammar errors
Diffstat (limited to 'rest_framework/exceptions.py')
-rw-r--r--rest_framework/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/exceptions.py b/rest_framework/exceptions.py
index bcfd8961..2586fc33 100644
--- a/rest_framework/exceptions.py
+++ b/rest_framework/exceptions.py
@@ -36,7 +36,7 @@ class APIException(Exception):
Subclasses should provide `.status_code` and `.default_detail` properties.
"""
status_code = status.HTTP_500_INTERNAL_SERVER_ERROR
- default_detail = _('A server error occured')
+ default_detail = _('A server error occurred')
def __init__(self, detail=None):
if detail is not None: