<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>David Cramer&#039;s Blog &#187; How-To&#8217;s</title>
	<atom:link href="http://www.davidcramer.net/category/how-tos/feed" rel="self" type="application/rss+xml" />
	<link>http://www.davidcramer.net</link>
	<description>A blog about Django, JavaScript, CSS, and general web development.</description>
	<lastBuildDate>Fri, 09 Jul 2010 17:39:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Debugging Django Errors</title>
		<link>http://www.davidcramer.net/code/502/debugging-django-errors.html</link>
		<comments>http://www.davidcramer.net/code/502/debugging-django-errors.html#comments</comments>
		<pubDate>Thu, 07 Jan 2010 05:23:07 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[How-To's]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=502</guid>
		<description><![CDATA[Today (for many hours) I sat here attempting to debug an error which Django wasn&#8217;t spitting out. This happened when combining Django+mod_wsgi and having a runtime import error. The result is a generic white internal server error page from Apache, and nothing recorded in any kind of error log. So, to make your life easier, [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/502/debugging-django-errors.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Setting up Django and Sphinx Full-text Search (django-sphinx)</title>
		<link>http://www.davidcramer.net/code/django/433/setting-up-django-and-sphinx-full-text-search-django-sphinx.html</link>
		<comments>http://www.davidcramer.net/code/django/433/setting-up-django-and-sphinx-full-text-search-django-sphinx.html#comments</comments>
		<pubDate>Thu, 26 Mar 2009 00:54:06 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[How-To's]]></category>
		<category><![CDATA[sphinx]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=433</guid>
		<description><![CDATA[A while back I posted a quick, and very simplistic guide to setting up django-sphinx within your project. Since that time we&#8217;ve gained a lot of use of the platform. It came to my attention today that the django-nyc group was going to do a presentation on how to setup sphinx within your Django project. [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/django/433/setting-up-django-and-sphinx-full-text-search-django-sphinx.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Dealing with Automated Form Submission (Spam)</title>
		<link>http://www.davidcramer.net/code/293/dealing-with-automated-form-submission-spam.html</link>
		<comments>http://www.davidcramer.net/code/293/dealing-with-automated-form-submission-spam.html#comments</comments>
		<pubDate>Fri, 12 Sep 2008 01:56:31 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[How-To's]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[antispam]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=293</guid>
		<description><![CDATA[Recently I&#8217;ve been incorporating alternative techniques to Captcha to prevent automated form submission on websites, which is typically spam, or something else you don&#8217;t want happening. I added our routines to the new iBegin&#8217;s submission system today, and thought that I&#8217;d share with the world what we&#8217;re doing. I&#8217;m also curious as to what everyone [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/293/dealing-with-automated-form-submission-spam.html/feed</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Using Jinja With Django</title>
		<link>http://www.davidcramer.net/code/113/using-jinja-with-django.html</link>
		<comments>http://www.davidcramer.net/code/113/using-jinja-with-django.html#comments</comments>
		<pubDate>Sun, 30 Mar 2008 05:51:37 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[How-To's]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[filters]]></category>
		<category><![CDATA[jinja]]></category>
		<category><![CDATA[templates]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=113</guid>
		<description><![CDATA[Every time I meet someone new who asks me about Django, I tell them exactly what I think. It&#8217;s a great product. It does exactly what it&#8217;s designed to do. Allows you to build decently structured applications rapidly, without much overhead in doing so. One of the other things I tell them, is that the [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/113/using-jinja-with-django.html/feed</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Writing a Build Bot using SVN and Python</title>
		<link>http://www.davidcramer.net/code/112/writing-a-build-bot.html</link>
		<comments>http://www.davidcramer.net/code/112/writing-a-build-bot.html#comments</comments>
		<pubDate>Sat, 29 Mar 2008 01:36:09 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[How-To's]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[buildbot]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[yui]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=112</guid>
		<description><![CDATA[Today I went head and finalized our build bot some of our public scripts. These scripts are mostly JavaScript based. I already had the build script zipping the file for tags and trunks of projects within the repository (we store all projects in one repository, instead of one repo per project). There were still a [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/112/writing-a-build-bot.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Setup mod_wsgi for Django and Shared Hosting</title>
		<link>http://www.davidcramer.net/code/django/108/setup-mod_wsgi-for-django-and-shared-hosting.html</link>
		<comments>http://www.davidcramer.net/code/django/108/setup-mod_wsgi-for-django-and-shared-hosting.html#comments</comments>
		<pubDate>Sun, 23 Mar 2008 01:35:23 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[How-To's]]></category>
		<category><![CDATA[mod_wsgi]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/code/django/108/setup-mod_wsgi-for-django-and-shared-hosting.html</guid>
		<description><![CDATA[Recently I took the opportunity to configure my server for per-user hosting (to offer some free hosting to people who needed it). Doing this I had to configure mod_wsgi per-user as well. First, let me say that the documentation is excellent, but real world examples are always very helpful. Below is the output of a [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/django/108/setup-mod_wsgi-for-django-and-shared-hosting.html/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>How to Deploy Django with Subversion and mod_wsgi</title>
		<link>http://www.davidcramer.net/code/django/107/deploying-django.html</link>
		<comments>http://www.davidcramer.net/code/django/107/deploying-django.html#comments</comments>
		<pubDate>Sun, 23 Mar 2008 01:31:43 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[How-To's]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=107</guid>
		<description><![CDATA[Today a question was raised on how to deploy Django on your server. I figured it&#8217;d be useful to put together a quick how-to for deploying Django on your standard LAMP infrastructure. I&#8217;m not going to say the way we&#8217;ve done things is the best, or if it&#8217;s even common, but it&#8217;s the way we&#8217;ve [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/django/107/deploying-django.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>In-Depth django-sphinx Tutorial</title>
		<link>http://www.davidcramer.net/code/79/in-depth-django-sphinx-tutorial.html</link>
		<comments>http://www.davidcramer.net/code/79/in-depth-django-sphinx-tutorial.html#comments</comments>
		<pubDate>Mon, 25 Feb 2008 00:45:26 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[How-To's]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[sphinx]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/code/79/in-depth-django-sphinx-tutorial.html</guid>
		<description><![CDATA[Again, I still suck at documentation, and my &#8220;tutorials&#8221; aren&#8217;t in-depth enough. So hopefully this covers all of the questions regarding using the django-sphinx module. The first thing you&#8217;re going to need to do is install the Sphinx search software. You will be able to get this through http://www.sphinxsearch.com/, or probably even port or aptitude. [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/79/in-depth-django-sphinx-tutorial.html/feed</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Using LOCKs in MySQL</title>
		<link>http://www.davidcramer.net/code/67/using-locks-in-mysql.html</link>
		<comments>http://www.davidcramer.net/code/67/using-locks-in-mysql.html#comments</comments>
		<pubDate>Thu, 17 Jan 2008 22:07:06 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Curse]]></category>
		<category><![CDATA[How-To's]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/code/67/using-locks-in-mysql.html</guid>
		<description><![CDATA[We ran across a fun gotcha today while performance testing some code. The issue was originally discovered when we noticed a 300ms query taking 20 seconds. After about an hour of debugging we found the issue to be with aliases in table locks. Here&#8217;s what our original SQL looked like: LOCK TABLES files_versiondownloadcount WRITE; &#160; [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/67/using-locks-in-mysql.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up Django with Sphinx Full-text Search</title>
		<link>http://www.davidcramer.net/code/65/setting-up-django-with-sphinx.html</link>
		<comments>http://www.davidcramer.net/code/65/setting-up-django-with-sphinx.html#comments</comments>
		<pubDate>Thu, 03 Jan 2008 23:45:54 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[How-To's]]></category>
		<category><![CDATA[sphinx]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/code/65/setting-up-django-with-sphinx.html</guid>
		<description><![CDATA[It seems I suck at documentation (yes, It&#8217;s very true), so here&#8217;s a quick How-to on using the Sphinx ORM for Django we created: Download and install Sphinx (you&#8217;re on your own here): http://www.sphinxsearch.com/ Download and install the Django Sphinx package: http://django-sphinx.googlecode.com/ (again, on your own) Setup a source for your table: source files_file_en : [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/65/setting-up-django-with-sphinx.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
