Django Book 翻译
菜单>:
TOC
返回
原文:
The command ``python manage.py runserver`` imports a file called ``settings.py`` from the same directory. This file contains all sorts of optional configuration for this particular Django instance, but one of the most important settings is ``ROOT_URLCONF`` . The ``ROOT_URLCONF`` setting tells Django which Python module should be used as the URLconf for this Web site.
翻译:
命令 ``python manage.py runserver`` 从同一目录载入文件 ``settings.py`` 。 该文件包含了这个特定的Django实例所有的各种可选配置,其中一个最重要的配置就是 ``ROOT_URLCONF`` 。 ``ROOT_URLCONF`` 告诉Django哪个Python模块应该用作本网站的 URLconf。
备注:
译者: