mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-10-29 06:57:36 +03:00
The way to provide a default detail for APIException is to define a `default_detail` attribute on the subclass. Defining a `detail` attribute without `default_detail` will not work, and will result in empty detail instead. |
||
|---|---|---|
| .. | ||
| api-guide | ||
| css | ||
| img | ||
| js | ||
| topics | ||
| tutorial | ||
| 404.html | ||
| index.md | ||
| requirements.txt | ||
| template.html | ||