mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-03-03 19:00:17 +03:00
Merge pull request #1379 from bodylabs/exception_example
Fix doc for custom exception sample
This commit is contained in:
commit
fab531961b
|
@ -94,7 +94,7 @@ For example, if your API relies on a third party service that may sometimes be u
|
||||||
|
|
||||||
class ServiceUnavailable(APIException):
|
class ServiceUnavailable(APIException):
|
||||||
status_code = 503
|
status_code = 503
|
||||||
detail = 'Service temporarily unavailable, try again later.'
|
default_detail = 'Service temporarily unavailable, try again later.'
|
||||||
|
|
||||||
## ParseError
|
## ParseError
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user