djangosnippets.org: Latest snippets tagged with 'site-contrib'https://djangosnippets.org/tags/site-contrib/2008-09-30T15:25:36.223508-05:00change SITE_ID on fly
2008-09-30T15:25:36.223508-05:00m-garanin@yandex.ruhttps://djangosnippets.org/snippets/1099/<p>Django SITE_ID is a global setting, so the site framework requires you to run multiple instances of Django; at least one for each site. But i want have one instance for multiple sites. This snippet solve this task by change SITE_ID on fly.
/sorry my bad english/</p>
Freely redistributable