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