diff options
| author | Alasdair Nicol <alasdair@thenicols.net> | 2013-08-15 00:27:16 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-08-15 07:07:15 -0400 |
| commit | 52741004f682a82b5e27593fd5ab740bd22d09f6 (patch) | |
| tree | 14280b761cfe6f79727ebb6356e65445d684c750 /docs/ref | |
| parent | 8bd5251fd5ff32e19315f51edf3cff24bc5ccc5c (diff) | |
[1.6.x] Updated docs following deprecation of django.views.defaults.shortcut
Follows 3f2befc
Backport of 354009d67e from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/sites.txt | 7 |
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 |
