aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTom Christie2014-01-31 09:52:47 -0800
committerTom Christie2014-01-31 09:52:47 -0800
commitfab531961b7709d32734c891b191a7a6d9629058 (patch)
tree661ac479f663f3665ceee2f3ec3d111a8f867040 /docs
parent8f921160e5a4b50f622449f368df41e5e36c0ebe (diff)
parent77ced39e6c02cd375ac6df0c00f78846ac5cbec5 (diff)
downloaddjango-rest-framework-fab531961b7709d32734c891b191a7a6d9629058.tar.bz2
Merge pull request #1379 from bodylabs/exception_example
Fix doc for custom exception sample
Diffstat (limited to 'docs')
-rw-r--r--docs/api-guide/exceptions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/exceptions.md b/docs/api-guide/exceptions.md
index 221df679..4e8b823c 100644
--- a/docs/api-guide/exceptions.md
+++ b/docs/api-guide/exceptions.md
@@ -94,7 +94,7 @@ For example, if your API relies on a third party service that may sometimes be u
class ServiceUnavailable(APIException):
status_code = 503
- detail = 'Service temporarily unavailable, try again later.'
+ default_detail = 'Service temporarily unavailable, try again later.'
## ParseError