This link has been bookmarked by 17 people . It was first bookmarked on 20 Apr 2008, by Antti Kaihola.
-
03 May 12
sensimevanidusThe Django framework has excellent support for running multiple sites on a single Django installation, via the sites framework. This framework is based on a global site identifier setting (SITE_ID), which is then used by different components to distinguish between data for different sites in the database.
However, SITE_ID is a global setting, so the site framework requires you to run multiple instances of Django; at least one for each site.
This article describes a more light-weight approach, which lets you serve multiple distinct host names from a single instance, by switching between different URL configurations on the fly. This approach doesn’t provide full separation, so it’s mostly usable for servering related material under different URL:s, such as a company site with one or more product subsites, etc. -
14 Apr 11
-
13 Feb 10
-
22 Dec 09
-
08 Dec 09
-
21 May 09
-
04 Apr 09
-
29 Jul 08
-
20 Apr 08
-
20 Jan 08
-
26 Oct 07
-
09 Aug 07
-
25 Dec 06
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.