diff options
| author | Craig Blaszczyk | 2014-12-31 12:49:20 +0000 |
|---|---|---|
| committer | Craig Blaszczyk | 2015-01-02 11:08:09 +0000 |
| commit | faf76a4b75f12f3fa9de4e3ec455daa239af4d89 (patch) | |
| tree | 4562309bdf69c05bae603f8117898ab8510518e0 /rest_framework/exceptions.py | |
| parent | 0b8a83bd624673cb0a05e01c691729ccee3a8782 (diff) | |
| download | django-rest-framework-faf76a4b75f12f3fa9de4e3ec455daa239af4d89.tar.bz2 | |
fix spelling & grammar errors
Diffstat (limited to 'rest_framework/exceptions.py')
| -rw-r--r-- | rest_framework/exceptions.py | 2 |
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: |
