mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-10-29 06:57:36 +03:00
I ran into an issue today where I was not seeing the rest_framework.views.exception_handler do what I thought it should be doing. It turned out that I had imported View from rest_framework.views rather than importing APIView from rest_framework.views. The phrase "raised inside REST framework" was confusing as I was debugging this issue. I was unsure if that meant that I could raise those exceptions in my code or if it had to originate from within framework code. I'm not sure if the proposed wording is ideal, I just wanted to point out what I found to be confusing. |
||
|---|---|---|
| .. | ||
| authentication.md | ||
| content-negotiation.md | ||
| exceptions.md | ||
| fields.md | ||
| filtering.md | ||
| format-suffixes.md | ||
| generic-views.md | ||
| pagination.md | ||
| parsers.md | ||
| permissions.md | ||
| relations.md | ||
| renderers.md | ||
| requests.md | ||
| responses.md | ||
| reverse.md | ||
| routers.md | ||
| serializers.md | ||
| settings.md | ||
| status-codes.md | ||
| testing.md | ||
| throttling.md | ||
| views.md | ||
| viewsets.md | ||