mirror of https://github.com/django/django.git
Added to docstring of `setup_environ` about what the function returns.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
1580630fbd
commit
2dfad61fcc
|
@ -242,6 +242,8 @@ def setup_environ(settings_mod):
|
||||||
"""
|
"""
|
||||||
Configures the runtime environment. This can also be used by external
|
Configures the runtime environment. This can also be used by external
|
||||||
scripts wanting to set up a similar environment to manage.py.
|
scripts wanting to set up a similar environment to manage.py.
|
||||||
|
Returns the project directory (assuming the passed settings module is
|
||||||
|
directly in the project directory).
|
||||||
"""
|
"""
|
||||||
# Add this project to sys.path so that it's importable in the conventional
|
# Add this project to sys.path so that it's importable in the conventional
|
||||||
# way. For example, if this file (manage.py) lives in a directory
|
# way. For example, if this file (manage.py) lives in a directory
|
||||||
|
|
Loading…
Reference in New Issue