Django Book 翻译
菜单>:
TOC
返回
原文:
``django-admin.py`` should be on your system path if you installed Django via its ``setup.py`` utility. If you checked out from Subversion, you can find it in ``djtrunk/django/bin`` . Since youll be using ``django-admin.py`` often, consider adding it to your path. On Unix, you can do so by symlinking from ``/usr/local/bin`` , using a command such as ``sudo ln -s /path/to/django/bin/django-admin.py /usr/local/bin/django-admin.py`` . On Windows, youll need to update your ``PATH`` environment variable.
翻译:
如果用的是 ``setup.py`` 工具进行的 Django 安装, ``django-admin.py`` 应该已被加入了系统路径中。如果是从 Subversion 检出的代码,则可以在 ``djtrunk/django/bin`` 中找到它。因为会经常用到 ``django-admin.py`` ,可以考虑把它加入系统搜索路径。在 Unix 上,你可以用 ``sudo ln -s /path/to/django/bin/django-admin.py /usr/local/bin/django-admin.py`` 这样的命令从 ``/usr/local/bin`` 中建立符号连接。在 Windows 平台上则需要更新 ``PATH`` 环境变量。
备注:
译者: