Skip to content

docs: clarify Http404 handler scope in error handling guide#1725

Open
Thiago88pe wants to merge 1 commit into
vitalik:masterfrom
Thiago88pe:docs/clarify-http404-handler-scope
Open

docs: clarify Http404 handler scope in error handling guide#1725
Thiago88pe wants to merge 1 commit into
vitalik:masterfrom
Thiago88pe:docs/clarify-http404-handler-scope

Conversation

@Thiago88pe
Copy link
Copy Markdown

The Http404 exception_handler only catches exceptions raised inside Ninja routes (e.g. via get_object_or_404). It does not intercept requests to undefined URLs, which are handled by Django directly. Fixes #1390

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] 404 handler override not working as expected

1 participant