mirror of
https://github.com/django/django.git
synced 2025-02-01 13:19:18 +00:00
Fixed #2319 -- Added a note that the sites framework is used by admin's view-on-site functionality. Based on a patch from David Reynolds.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
1b0e588118
commit
4fd2b0ca77
@ -316,6 +316,9 @@ Here's how Django uses the sites framework:
|
|||||||
* The shortcut view (``django.views.defaults.shortcut``) uses the domain of
|
* The shortcut view (``django.views.defaults.shortcut``) uses the domain of
|
||||||
the current ``Site`` object when calculating an object's URL.
|
the current ``Site`` object when calculating an object's URL.
|
||||||
|
|
||||||
|
* In the admin framework, the ''view on site'' link uses the current
|
||||||
|
``Site`` to work out the domain for the site that it will redirect to.
|
||||||
|
|
||||||
.. _redirects framework: ../redirects/
|
.. _redirects framework: ../redirects/
|
||||||
.. _flatpages framework: ../flatpages/
|
.. _flatpages framework: ../flatpages/
|
||||||
.. _syndication framework: ../syndication_feeds/
|
.. _syndication framework: ../syndication_feeds/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user