<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Franchising: Running  Multiple Sites from one Django Codebase</title>
	<atom:link href="http://www.huyng.com/archives/franchising-running-multiple-sites-from-one-django-codebase-2/394/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.huyng.com/archives/franchising-running-multiple-sites-from-one-django-codebase-2/394/</link>
	<description>occasionally prolific</description>
	<lastBuildDate>Fri, 27 Jan 2012 03:28:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: r3dfish</title>
		<link>http://www.huyng.com/archives/franchising-running-multiple-sites-from-one-django-codebase-2/394/comment-page-1/#comment-8441</link>
		<dc:creator>r3dfish</dc:creator>
		<pubDate>Fri, 01 Apr 2011 13:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.huyng.com/?p=394#comment-8441</guid>
		<description>Amazing article.  I used it as the base for my setup.  Heres the howto I wrote: http://blog.hackedexistence.com/the-power-of-django-9-websites-1-database</description>
		<content:encoded><![CDATA[<p>Amazing article.  I used it as the base for my setup.  Heres the howto I wrote: <a href="http://blog.hackedexistence.com/the-power-of-django-9-websites-1-database" rel="nofollow">http://blog.hackedexistence.com/the-power-of-django-9-websites-1-database</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Power of Django: 9 websites, 1 database &#124; Hacked Existence</title>
		<link>http://www.huyng.com/archives/franchising-running-multiple-sites-from-one-django-codebase-2/394/comment-page-1/#comment-8439</link>
		<dc:creator>The Power of Django: 9 websites, 1 database &#124; Hacked Existence</dc:creator>
		<pubDate>Fri, 01 Apr 2011 12:46:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.huyng.com/?p=394#comment-8439</guid>
		<description>[...] Shoutouts Most of this information came from Franchising: Running Multiple Sites from one Django Codebase by Huy Nguyen.  Really great [...]</description>
		<content:encoded><![CDATA[<p>[...] Shoutouts Most of this information came from Franchising: Running Multiple Sites from one Django Codebase by Huy Nguyen.  Really great [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://www.huyng.com/archives/franchising-running-multiple-sites-from-one-django-codebase-2/394/comment-page-1/#comment-7100</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Tue, 01 Feb 2011 14:43:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.huyng.com/?p=394#comment-7100</guid>
		<description>@Ben one thing I am trying right now is to put all the css/js/images under a default directory, e.g. /static/default/ then for each site add /static/ then then selectively use the material as appropriate. That way the site specific directories only need to contain the over-ridden files.

It&#039;s not perfect but there is a clear separation between sites which avoids a number of headaches.</description>
		<content:encoded><![CDATA[<p>@Ben one thing I am trying right now is to put all the css/js/images under a default directory, e.g. /static/default/ then for each site add /static/ then then selectively use the material as appropriate. That way the site specific directories only need to contain the over-ridden files.</p>
<p>It&#8217;s not perfect but there is a clear separation between sites which avoids a number of headaches.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.huyng.com/archives/franchising-running-multiple-sites-from-one-django-codebase-2/394/comment-page-1/#comment-4465</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Thu, 11 Nov 2010 00:48:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.huyng.com/?p=394#comment-4465</guid>
		<description>great article...I&#039;m doing something very similar with a few sites now.  My last remaining issue is the media files (css/js/img) that are 90% the same across sites.  I need a simple way to have a base media directory and override certain files per site, etc.  Any thoughts on this?

thanks...</description>
		<content:encoded><![CDATA[<p>great article&#8230;I&#8217;m doing something very similar with a few sites now.  My last remaining issue is the media files (css/js/img) that are 90% the same across sites.  I need a simple way to have a base media directory and override certain files per site, etc.  Any thoughts on this?</p>
<p>thanks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sjoerd</title>
		<link>http://www.huyng.com/archives/franchising-running-multiple-sites-from-one-django-codebase-2/394/comment-page-1/#comment-2708</link>
		<dc:creator>Sjoerd</dc:creator>
		<pubDate>Tue, 08 Jun 2010 13:48:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.huyng.com/?p=394#comment-2708</guid>
		<description>I rewrote the last 2 lines to the following which seems to work:

   exec &quot;from %s.urls import urlpatterns as site_urls&quot; % (settings.OVERLOAD_SITE_MODULE)
   urlpatterns = site_urls + urlpatterns

Now it ties two lists together.</description>
		<content:encoded><![CDATA[<p>I rewrote the last 2 lines to the following which seems to work:</p>
<p>   exec &#8220;from %s.urls import urlpatterns as site_urls&#8221; % (settings.OVERLOAD_SITE_MODULE)<br />
   urlpatterns = site_urls + urlpatterns</p>
<p>Now it ties two lists together.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sjoerd</title>
		<link>http://www.huyng.com/archives/franchising-running-multiple-sites-from-one-django-codebase-2/394/comment-page-1/#comment-2706</link>
		<dc:creator>Sjoerd</dc:creator>
		<pubDate>Mon, 07 Jun 2010 21:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.huyng.com/?p=394#comment-2706</guid>
		<description>Just what I needed!
There one thing that&#039;s bugging me regarding the global and site-specific URLs:

I get this error when trying to tie these two together (urlpatterns = site_urls + urlpatterns) since site_urls here is the entire module:

Exception Value:  	

unsupported operand type(s) for +: &#039;module&#039; and &#039;list&#039;

Exception Location: 	/var/www/myproj/../myproj/urls.py in , line 44</description>
		<content:encoded><![CDATA[<p>Just what I needed!<br />
There one thing that&#8217;s bugging me regarding the global and site-specific URLs:</p>
<p>I get this error when trying to tie these two together (urlpatterns = site_urls + urlpatterns) since site_urls here is the entire module:</p>
<p>Exception Value:  	</p>
<p>unsupported operand type(s) for +: &#8216;module&#8217; and &#8216;list&#8217;</p>
<p>Exception Location: 	/var/www/myproj/../myproj/urls.py in , line 44</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Huy</title>
		<link>http://www.huyng.com/archives/franchising-running-multiple-sites-from-one-django-codebase-2/394/comment-page-1/#comment-1031</link>
		<dc:creator>Huy</dc:creator>
		<pubDate>Tue, 21 Jul 2009 20:11:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.huyng.com/?p=394#comment-1031</guid>
		<description>dor,

The major advantage of this approach is for people who developed their sites initially for one organization but ultimately want to replicate their work for multiple organizations without having to go back and do a lot of work restructuring their models and views With this approach, you make a new database, add some few custom templates and you essentially replicate the functionality from your 1st site to a multitude of other sites.</description>
		<content:encoded><![CDATA[<p>dor,</p>
<p>The major advantage of this approach is for people who developed their sites initially for one organization but ultimately want to replicate their work for multiple organizations without having to go back and do a lot of work restructuring their models and views With this approach, you make a new database, add some few custom templates and you essentially replicate the functionality from your 1st site to a multitude of other sites.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dor</title>
		<link>http://www.huyng.com/archives/franchising-running-multiple-sites-from-one-django-codebase-2/394/comment-page-1/#comment-1028</link>
		<dc:creator>dor</dc:creator>
		<pubDate>Thu, 16 Jul 2009 20:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.huyng.com/?p=394#comment-1028</guid>
		<description>thanks for the interesting article :)

what are the pros and cons of running the sites from different databases VS running the sites from a single, shared database?</description>
		<content:encoded><![CDATA[<p>thanks for the interesting article <img src='http://www.huyng.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>what are the pros and cons of running the sites from different databases VS running the sites from a single, shared database?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

