在开发阶段(使用django1.9和Virtualbox with Linux),链接没有问题。在生产服务器中(Django 1.8.9用于支持fastcgi)链接不起作用。只显示打开的页面。链接如下所示: http://rationale.ee.klient.veebimajutus.ee/http%3A//rationale.ee.klient.veebimajutus.ee/about 在“找不到”页中,会写入以下消息: 请求URL:http://http://rationale.ee.klient.veebimajutus.ee/http:/rationale.ee.klient.veebimajutus.ee/news 当前URL,http:/理据.ee.klient.veebimajutus.ee/关于,与这些都不匹配。你知道吗
应该是安装问题。有什么提示吗?我该怎么办?为什么显示utf8符号?你知道吗
请看that答案。可能您在
django.contrib.sites.models.Site
对象中包含了http://
,但它必须是唯一的域。你知道吗这是docs
这是一条漏线设置.py: 强制脚本名称=“” 之后一切正常
相关问题 更多 >
编程相关推荐