Fixed #16810, corrected a bad docstring. Thanks to kenkam for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Alex Gaynor 2011-09-10 21:29:21 +00:00
parent e130dc3275
commit e95d0afe9e
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ def get_script_name(environ):
Returns the equivalent of the HTTP request's SCRIPT_NAME environment Returns the equivalent of the HTTP request's SCRIPT_NAME environment
variable. If Apache mod_rewrite has been used, returns what would have been variable. If Apache mod_rewrite has been used, returns what would have been
the script name prior to any rewriting (so it's the script name as seen the script name prior to any rewriting (so it's the script name as seen
from the client's perspective), unless DJANGO_USE_POST_REWRITE is set (to from the client's perspective), unless FORCE_SCRIPT_NAME is set (to
anything). anything).
""" """
from django.conf import settings from django.conf import settings