Skip to content

Commit

Permalink
Added to docstring of setup_environ about what the function returns.
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
gdub committed Oct 27, 2007
1 parent 1580630 commit 2dfad61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions django/core/management/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2dfad61

Please sign in to comment.