From 4fd2b0ca77c135e39b52bd8081067b9365f9fb9f Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Fri, 14 Sep 2007 00:52:39 +0000 Subject: [PATCH] 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 --- docs/sites.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/sites.txt b/docs/sites.txt index 90a9d0f90f..e7a8ecbfa6 100644 --- a/docs/sites.txt +++ b/docs/sites.txt @@ -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/