Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 2dfad61fcc2b52ce158fedba93aef95a31b946c2 1 parent 1580630
@gdub gdub authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/core/management/__init__.py
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.