我是一个 python/django 新手,在 dotcloud 上遵循本教程。我 git 克隆了脚本,并没有改变任何东西。执行 dotcloud push 后,出现 404 错误,找不到管理员。
寻找答案,我从 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.
我应该怎么做才能解决这个问题?感谢您的帮助-谢谢。