Browse files

Fixed #21567 -- Documented how to deploy multiple sites using the sit…

…es framework.
  • Loading branch information...
1 parent cfee67a commit 7b9537fb270e46d9b89ead0c6dc9b9f68dc93131 @timgraham timgraham committed Aug 26, 2014
Showing with 5 additions and 0 deletions.
  1. +5 −0 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
+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

0 comments on commit 7b9537f

Please sign in to comment.