mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
77ced39e6c
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 |