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.
我正在运行 Django,使用 nginx+fcgi 进行生产。我在 settings.py 中更改了 DEBUG = True (我的站点上没有用户,我只想查看堆栈跟踪以了解在生产中随机出现的错误)。
我已经搞定了:
$ ./manage.py shell [[Python]] import settings print settings.DEBUG >>> True
然而,我不断得到 404 页。