<?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></description>
	<lastBuildDate>Mon, 16 Aug 2010 10:05:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
