【发布时间】:2011-10-23 09:05:15
【问题描述】:
我是一名 python/django 新手,关注 tutorial on dotcloud。我 git 克隆了脚本,并没有改变任何东西。点云推送后,出现 404 错误,找不到管理员。
在寻找答案时,我找到了this from dotcloud answers,检查了我的 wsgi.py,发现与我从教程中克隆的内容没有什么不同。我还做了一个 dotcloud logs -b mysite 并没有发现任何问题。
我也跑了一个
dotcloud run mysite python current/path_to/manage.py syncdb
我仍然得到
Page not found (404)
Request Method: GET
Request URL: http://jims-now0pen.dotcloud.com/
Using the URLconf defined in hellodjango.urls, Django tried these URL patterns, in this order:
^admin/
The current URL, , didn't match any of these.
我应该怎么做才能解决这个问题?感谢您的帮助——谢谢。
【问题讨论】: