mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 04:07:39 +03:00
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.
This commit is contained in:
parent
c3aeb16557
commit
ed9c3258a6
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user