<?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"
	>

<channel>
	<title>David Cramer's Blog &#187; Django</title>
	<atom:link href="http://www.davidcramer.net/category/code/django/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>
	<pubDate>Tue, 19 Aug 2008 19:13:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>A Better Paginator in Django</title>
		<link>http://www.davidcramer.net/code/193/a-better-paginator-in-django.html</link>
		<comments>http://www.davidcramer.net/code/193/a-better-paginator-in-django.html#comments</comments>
		<pubDate>Wed, 13 Aug 2008 18:02:47 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Django]]></category>

		<category><![CDATA[paginator]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=193</guid>
		<description><![CDATA[One of the tasks that I seem to repeatedly do across multiple projects, is extend the built-in paginator from Django. The built-in is fairly nice, but it&#8217;s quite honestly extremely confusing as you have to pass around a paginator instance as well as a paginator.page() instance in order to get useful pagination inside of a [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/193/a-better-paginator-in-django.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Custom Fields in Django</title>
		<link>http://www.davidcramer.net/code/181/custom-fields-in-django.html</link>
		<comments>http://www.davidcramer.net/code/181/custom-fields-in-django.html#comments</comments>
		<pubDate>Fri, 08 Aug 2008 14:54:58 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Django]]></category>

		<category><![CDATA[custom]]></category>

		<category><![CDATA[fields]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=181</guid>
		<description><![CDATA[I was helping someone today in the Django IRC channel and the question came across about storing a denormalized data set in a single field. Typically I do such things by either serializing the data, or by separating the values with a token (comma for example).
Django has a built-in field type for CommaSeparatedIntegerField, but most [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/181/custom-fields-in-django.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>More Updates to django-sphinx</title>
		<link>http://www.davidcramer.net/code/179/more-updates-to-django-sphinx.html</link>
		<comments>http://www.davidcramer.net/code/179/more-updates-to-django-sphinx.html#comments</comments>
		<pubDate>Sun, 03 Aug 2008 05:37:41 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Django]]></category>

		<category><![CDATA[sphinx]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=179</guid>
		<description><![CDATA[I was working on our search for the new iBegin today, which utilizes Sphinx, Django, and obviously, django-sphinx. Being the person who hates doing tedious work, I found a few issues in the newly done configuration generation.

Errors hardcore in 0.98
It wasn&#8217;t generating attributes for floats (latitude/longitude)
Didn&#8217;t work with custom index names

So tonight, after a few [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/179/more-updates-to-django-sphinx.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Jinja: Refactoring Django Support</title>
		<link>http://www.davidcramer.net/code/173/jinja-refactoring-django-support.html</link>
		<comments>http://www.davidcramer.net/code/173/jinja-refactoring-django-support.html#comments</comments>
		<pubDate>Fri, 01 Aug 2008 10:46:09 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Django]]></category>

		<category><![CDATA[Jinja]]></category>

		<category><![CDATA[jinja]]></category>

		<category><![CDATA[patch]]></category>

		<category><![CDATA[refactor]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=173</guid>
		<description><![CDATA[I&#8217;ve been annoyed for the last 6 months of using Jinja, as I&#8217;ve been working on numerous different Django projects, and I&#8217;ve had to use django-admin.py vs manage.py. The reason for this is simply, that in my settings.py I had used the djangosupport.configure() routine. I tried moving it to other locations, but they didn&#8217;t seem [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/173/jinja-refactoring-django-support.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>New Pluggable: django-object-view-tracking</title>
		<link>http://www.davidcramer.net/code/162/new-pluggable-django-object-view-tracking.html</link>
		<comments>http://www.davidcramer.net/code/162/new-pluggable-django-object-view-tracking.html#comments</comments>
		<pubDate>Thu, 31 Jul 2008 07:06:42 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Django]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=162</guid>
		<description><![CDATA[I posted another one of my small pluggable apps up on Google code the other day. It&#8217;s called django-object-view-tracking and is most suited for tracking things such as if a user has viewed a thread in a forum.
The API is fairly simple, but may need some improvements based on feedback:

def view_thread_list(request):
    threads [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/162/new-pluggable-django-object-view-tracking.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Configuration Generation for django-sphinx</title>
		<link>http://www.davidcramer.net/code/160/configuration-generation-for-django-sphinx.html</link>
		<comments>http://www.davidcramer.net/code/160/configuration-generation-for-django-sphinx.html#comments</comments>
		<pubDate>Thu, 31 Jul 2008 07:04:44 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Django]]></category>

		<category><![CDATA[sphinx]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=160</guid>
		<description><![CDATA[I pushed an update to the django-sphinx repository tonight which includes a sample configuration generation tool.
It allows you to generate a source and index config for a Model based on it&#8217;s field type. For example:

from nibbits.maps.models import Map
import djangosphinx

output = djangosphinx.generate_config_for_model(Map)
print output

This will give you something like:

source base
{
    type    [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/160/configuration-generation-for-django-sphinx.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>High Performance Django at DjangoCon</title>
		<link>http://www.davidcramer.net/code/django/134/high-performance-django-at-djangocon.html</link>
		<comments>http://www.davidcramer.net/code/django/134/high-performance-django-at-djangocon.html#comments</comments>
		<pubDate>Mon, 28 Jul 2008 03:56:28 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Django]]></category>

		<category><![CDATA[DjangoCon]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=134</guid>
		<description><![CDATA[I&#8217;m going to be giving a talk at DjangoCon, &#8220;High Performance Django&#8221;. I will be discussing what I&#8217;ve done at the past with Curse.com, what we do presently for iBegin&#8217;s Crazy Datastore, and general tips for scalability and performance in large web applications.
So why am I telling you all of this? I&#8217;m interested in hearing [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/django/134/high-performance-django-at-djangocon.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>The Woes of Moving</title>
		<link>http://www.davidcramer.net/other/127/the-woes-of-moving.html</link>
		<comments>http://www.davidcramer.net/other/127/the-woes-of-moving.html#comments</comments>
		<pubDate>Thu, 12 Jun 2008 12:01:16 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Django]]></category>

		<category><![CDATA[Other]]></category>

		<category><![CDATA[Work]]></category>

		<category><![CDATA[iBegin]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=127</guid>
		<description><![CDATA[I&#8217;ve been out of touch for a little over a month now as I&#8217;ve been transitioning from the west to east coast. I decided it would be &#8220;fun&#8221; to head back to my hometown for the summer, and fun it has been.
While looking for a place I had been using tethering on my AT&#038;T network [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/other/127/the-woes-of-moving.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>django-db-log</title>
		<link>http://www.davidcramer.net/code/126/django-db-log.html</link>
		<comments>http://www.davidcramer.net/code/126/django-db-log.html#comments</comments>
		<pubDate>Mon, 12 May 2008 16:39:50 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Django]]></category>

		<category><![CDATA[db]]></category>

		<category><![CDATA[error]]></category>

		<category><![CDATA[logging]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=126</guid>
		<description><![CDATA[The question came up today, if there was a database logging solution available for Django. It turned out (to my knowledge) there wasn&#8217;t. So I quickly came up with django-db-log. It&#8217;s a simply middleware which will catch exceptions in Django, and log them to the database, allowing you to easily view them via the admin [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/126/django-db-log.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Jinja 2 is Coming</title>
		<link>http://www.davidcramer.net/code/python/122/jinja-2-is-coming.html</link>
		<comments>http://www.davidcramer.net/code/python/122/jinja-2-is-coming.html#comments</comments>
		<pubDate>Mon, 14 Apr 2008 23:28:18 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Django]]></category>

		<category><![CDATA[Python]]></category>

		<category><![CDATA[jinja]]></category>

		<category><![CDATA[templates]]></category>

		<guid isPermaLink="false">http://www.davidcramer.net/?p=122</guid>
		<description><![CDATA[The guys over at Pocoo have been hard at work on Jinja 2 lately. So far it&#8217;s looking awesome. The benchmarks are outstanding (putting it even further ahead of Django, and faster than Mako even), and some of the additions, and changes, such as the awesome addition to for x in iterable [if expr] are [...]]]></description>
		<wfw:commentRss>http://www.davidcramer.net/code/python/122/jinja-2-is-coming.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
