summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Wilson Jr <gary.wilson@gmail.com>2007-10-27 16:03:24 +0000
committerGary Wilson Jr <gary.wilson@gmail.com>2007-10-27 16:03:24 +0000
commit2dfad61fcc2b52ce158fedba93aef95a31b946c2 (patch)
tree8cecbe2348dfa4c97962c1f2a0eef01d414bf4da
parent1580630fbdda9923c33425372099391d318dd925 (diff)
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
-rw-r--r--django/core/management/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py
index f706fa3c7e..dce2fd493d 100644
--- a/django/core/management/__init__.py
+++ b/django/core/management/__init__.py
@@ -242,6 +242,8 @@ def setup_environ(settings_mod):
"""
Configures the runtime environment. This can also be used by external
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
# way. For example, if this file (manage.py) lives in a directory