Kaydet (Commit) 4fd2b0ca authored tarafından Malcolm Tredinnick's avatar Malcolm Tredinnick

Fixed #2319 -- Added a note that the sites framework is used by admin's…

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
üst 1b0e5881
......@@ -316,6 +316,9 @@ Here's how Django uses the sites framework:
* The shortcut view (``django.views.defaults.shortcut``) uses the domain of
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/
.. _flatpages framework: ../flatpages/
.. _syndication framework: ../syndication_feeds/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment