mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #357 -- Added a '--pythonpath' option to django-admin. Thanks for the patch, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -193,6 +193,16 @@ Explicitly specifies the settings module to use. The settings module should be
|
||||
in Python path syntax, e.g. "myproject.settings.main". If this isn't provided,
|
||||
``django-admin.py`` will use the DJANGO_SETTINGS_MODULE environment variable.
|
||||
|
||||
--pythonpath
|
||||
============
|
||||
|
||||
Example usage::
|
||||
|
||||
django-admin.py init --pythonpath='/home/djangoprojects/myproject'
|
||||
|
||||
Adds the given filesystem path to the Python path. If this isn't provided,
|
||||
``django-admin.py`` will use the ``PYTHONPATH`` environment variable.
|
||||
|
||||
--help
|
||||
======
|
||||
|
||||
|
||||
Reference in New Issue
Block a user