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.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| authentication.md | Loading commit data... | |
| content-negotiation.md | Loading commit data... | |
| exceptions.md | Loading commit data... | |
| fields.md | Loading commit data... | |
| filtering.md | Loading commit data... | |
| format-suffixes.md | Loading commit data... | |
| generic-views.md | Loading commit data... | |
| pagination.md | Loading commit data... | |
| parsers.md | Loading commit data... | |
| permissions.md | Loading commit data... | |
| relations.md | Loading commit data... | |
| renderers.md | Loading commit data... | |
| requests.md | Loading commit data... | |
| responses.md | Loading commit data... | |
| reverse.md | Loading commit data... | |
| routers.md | Loading commit data... | |
| serializers.md | Loading commit data... | |
| settings.md | Loading commit data... | |
| status-codes.md | Loading commit data... | |
| testing.md | Loading commit data... | |
| throttling.md | Loading commit data... | |
| views.md | Loading commit data... | |
| viewsets.md | Loading commit data... |