Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.7.x] Fixed #21567 -- Documented how to deploy multiple sites using…

… the sites framework.

Backport of 7b9537f from master
  • Loading branch information...
commit 4f0916c374e37ff945f04d7981f3b435eb7cd350 1 parent 1b89f97
Tim Graham timgraham authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 docs/ref/contrib/sites.txt
5 docs/ref/contrib/sites.txt
View
@@ -272,6 +272,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
===================================
Please sign in to comment.
Something went wrong with that request. Please try again.