From 2dfad61fcc2b52ce158fedba93aef95a31b946c2 Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Sat, 27 Oct 2007 16:03:24 +0000 Subject: [PATCH] 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 --- django/core/management/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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