aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús Espino2013-10-21 10:24:06 +0200
committerJesús Espino2013-10-21 10:24:06 +0200
commited9c3258a6f9df6fabb569a65f3eb3363affa523 (patch)
tree1b804526368018dec8ef3b3b1b23dd8cefe8e40f
parentc3aeb16557f2cbb1c1218b5af7bab646e4958234 (diff)
downloaddjango-rest-framework-ed9c3258a6f9df6fabb569a65f3eb3363affa523.tar.bz2
Remove the detail=None from APIException signature
The documentation not match with the implementation. The APIException doesn't have detail parameter in the constructor class, actually doesn't have constructor method at all.
-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 0c48783a..c46d415e 100644
--- a/docs/api-guide/exceptions.md
+++ b/docs/api-guide/exceptions.md
@@ -82,7 +82,7 @@ Note that the exception handler will only be called for responses generated by r
## APIException
-**Signature:** `APIException(detail=None)`
+**Signature:** `APIException()`
The **base class** for all exceptions raised inside REST framework.