Django Book 翻译
菜单>:
TOC
返回
原文:
then *all* your URL patterns will need to start with ``"/mysite/"`` . For this reason we usually recommend deploying Django at the root of your domain or virtual host. Alternatively, you can simply shift your URL configuration down one level by using a shim URLconf:
翻译:
则你的 *所有* URL都要以 ``"/mysite/"`` 起始。基于这种原因我们通常建议将 Django,部署 在主机或虚拟主机的根目录。另外还有一个选择就是,你可以简单的将你的 URL 配置转换成像下面这样:
备注:
译者: