summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-08-26 15:22:08 -0400
committerTim Graham <timograham@gmail.com>2014-08-26 15:22:08 -0400
commit7b9537fb270e46d9b89ead0c6dc9b9f68dc93131 (patch)
treedbfd827442edf28bcbea744489789ead79203e14 /docs
parentcfee67ae100343f9e20f412a0b2c56e001d84eca (diff)
Fixed #21567 -- Documented how to deploy multiple sites using the sites framework.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/sites.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt
index 335c771272..7561d544a8 100644
--- a/docs/ref/contrib/sites.txt
+++ b/docs/ref/contrib/sites.txt
@@ -268,6 +268,11 @@ will also be created after Django creates the test database. To set the
correct name and domain for your project, you can use a :ref:`data migration
<data-migrations>`.
+In order to serve different sites in production, you'd create a separate
+settings file with each ``SITE_ID`` (perhaps importing from a common settings
+file to avoid duplicating shared settings) and then specify the appropriate
+:envvar:`DJANGO_SETTINGS_MODULE` for each site.
+
Caching the current ``Site`` object
===================================