summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAlasdair Nicol <alasdair@thenicols.net>2013-08-15 00:27:16 +0100
committerAlasdair Nicol <alasdair@thenicols.net>2013-08-15 00:27:16 +0100
commit354009d67eb56301457ec26c1c847af5fdfc083b (patch)
tree806828be2df21fedf4551d0b278bfb693983ec32 /docs/ref
parentb6178fa24be8a628cb002afe6a80db6391bb67d8 (diff)
Updated docs following deprecation of django.views.defaults.shortcut
Follows 3f2befc
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/sites.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt
index 65838dfa3e..131c9645e8 100644
--- a/docs/ref/contrib/sites.txt
+++ b/docs/ref/contrib/sites.txt
@@ -417,9 +417,10 @@ Here's how Django uses the sites framework:
:class:`~django.contrib.sites.models.Site` name to the template as
``{{ site_name }}``.
-* The shortcut view (``django.views.defaults.shortcut``) uses the domain
- of the current :class:`~django.contrib.sites.models.Site` object when
- calculating an object's URL.
+* The shortcut view (``django.contrib.contenttypes.views.shortcut``)
+ uses the domain of the current
+ :class:`~django.contrib.sites.models.Site` object when calculating
+ an object's URL.
* In the admin framework, the "view on site" link uses the current
:class:`~django.contrib.sites.models.Site` to work out the domain for the