Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Http404 を発生させたときに 404 エラー ビューをキャッチしてレンダリングするにはどうすればよいですか?
「WaitingForModeration」のような同様の例外を作成したいので、このソース コードを確認したいと思います。
django.core.handlers.base.BaseHandler で grep を使用していることに気づきました
https://github.com/django/django/blob/0d0ccf81a0c18f42866d914672469f720861988a/django/core/handlers/base.py#L141