diff options
Diffstat (limited to 'docs/topics/http')
| -rw-r--r-- | docs/topics/http/urls.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index 1f499909ee..3ba217ba8d 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -939,9 +939,9 @@ Normally, you should always use :func:`~django.core.urlresolvers.reverse` or However, if your application constructs part of the URL hierarchy itself, you may occasionally need to generate URLs. In that case, you need to be able to find the base URL of the Django project within its web server -(normally, :func:`~django.core.urlresolvers.reverse` takes care of this for +(normally, :func:`~django.core.urlresolvers.reverse` takes care of this for you). In that case, you can call ``get_script_prefix()``, which will return the script prefix portion of the URL for your Django project. If your Django project is at the root of its webserver, this is always ``"/"``, but it can be -changed, for instance by using ``django.root`` (see :ref:`How to use -Django with Apache and mod_python <howto-deployment-modpython>`). +changed, for instance by using ``django.root`` (see :doc:`How to use +Django with Apache and mod_python </howto/deployment/modpython>`). |
