diff options
| author | Jesús Espino | 2013-10-21 10:24:06 +0200 | 
|---|---|---|
| committer | Jesús Espino | 2013-10-21 10:24:06 +0200 | 
| commit | ed9c3258a6f9df6fabb569a65f3eb3363affa523 (patch) | |
| tree | 1b804526368018dec8ef3b3b1b23dd8cefe8e40f | |
| parent | c3aeb16557f2cbb1c1218b5af7bab646e4958234 (diff) | |
| download | django-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.md | 2 | 
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. | 
