django on dotcloud tutorial:404 admin not found

时间:2011-10-23 09:05:16

标签: django dotcloud

我是跟随此tutorial on dotcloud的python / django新手。我git克隆了脚本,并没有改变任何东西。在我执行dotcloud推送后,我收到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.

我该怎么做才能解决这个问题?感谢你的帮助 - 谢谢你。

1 个答案:

答案 0 :(得分:2)

教程应用程序不提供根URL的URL映射(http://jims-now0pen.dotcloud.com/);但是,您可以前往http://jims-now0pen.dotcloud.com/admin/查看Django的管理站点。

this paragraph

结束时对此进行了解释
  

如果我们现在推送我们的应用程序,我们可以转到/ admin URL [...]