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:
parent
e130dc3275
commit
e95d0afe9e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue