<?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: Setup Django with mod_wsgi on your Mac</title>
	<atom:link href="http://heisel.org/blog/2009/09/25/mod-wsgi-mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://heisel.org/blog/2009/09/25/mod-wsgi-mac/</link>
	<description>Musings for those in the media who grok, grep, and otherwise get the Web.</description>
	<lastBuildDate>Mon, 05 Mar 2012 15:21:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: Hobbes3</title>
		<link>http://heisel.org/blog/2009/09/25/mod-wsgi-mac/comment-page-1/#comment-33421</link>
		<dc:creator>Hobbes3</dc:creator>
		<pubDate>Tue, 28 Feb 2012 03:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://heisel.org/blog/?p=1529#comment-33421</guid>
		<description>&lt;p&gt;I followed most of your instructions but I am getting an error with MySQLdb.&lt;/p&gt;

&lt;p&gt;Here is the full error: http://stackoverflow.com/questions/9475626/django-apache-with-mod-wsgi-unable-to-load-mysqldb&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I fol&shy;lowed most of your instruc&shy;tions but I am get&shy;ting an error with MySQLdb.</p>

<p>Here is the full error: http://stackoverflow.com/questions/9475626/django-apache-with-mod-wsgi-unable-to-load-mysqldb</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Iraê</title>
		<link>http://heisel.org/blog/2009/09/25/mod-wsgi-mac/comment-page-1/#comment-33388</link>
		<dc:creator>Iraê</dc:creator>
		<pubDate>Mon, 27 Jun 2011 03:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://heisel.org/blog/?p=1529#comment-33388</guid>
		<description>&lt;p&gt;Very nice writeup! It helped me a lot!&lt;/p&gt;

&lt;p&gt;But for me one I had to append my project folder to the path, like so:&lt;/p&gt;

&lt;p&gt;import os, sys
sys.path = [&#039;/Users/USERNAME_HERE/code/PROJECT_NAME/&#039;] + sys.path
os.environ[&#039;DJANGO_SETTINGS_MODULE&#039;] = &#039;settings&#039;&lt;/p&gt;

&lt;p&gt;Where you replace USERNAME_HERE and PROJECT_NAME by your values.&lt;/p&gt;

&lt;p&gt;Also in my settings.py file I did:&lt;/p&gt;

&lt;p&gt;PROJECT_PATH = os.path.abspath(os.path.dirname(&lt;strong&gt;file&lt;/strong&gt;))
TEMPLATE_DIRS = (
    PROJECT_PATH + &#039;/templates/&#039;,
)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Very nice writeup! It helped me a&nbsp;lot!</p>

<p>But for me one I had to append my project folder to the path, like&nbsp;so:</p>

<p>import os, sys
sys.path = ['/Users/USERNAME_HERE/code/PROJECT_NAME/'] + sys.path
os.environ['DJANGO_SETTINGS_MODULE'] = &#8216;settings&#8217;</p>

<p>Where you replace USERNAME_HERE and PROJECT_NAME by your values.</p>

<p>Also in my set&#8203;tings.py file I&nbsp;did:</p>

<p>PROJECT_PATH = os.path.abspath(os.path.dirname(<strong>file</strong>))
TEMPLATE_DIRS = (
    PROJECT_PATH + &#8216;/templates/&#8217;,
)</p>]]></content:encoded>
	</item>
</channel>
</rss>

