<?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>Nomad Journey &#187; kwargs</title>
	<atom:link href="http://www.nomadjourney.com/tag/kwargs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nomadjourney.com</link>
	<description>Currently in transit between here and there...</description>
	<lastBuildDate>Thu, 02 Feb 2012 21:43:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Dynamic Django queries (or why kwargs is your friend)</title>
		<link>http://www.nomadjourney.com/2009/04/dynamic-django-queries-with-kwargs/</link>
		<comments>http://www.nomadjourney.com/2009/04/dynamic-django-queries-with-kwargs/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 20:06:37 +0000</pubDate>
		<dc:creator>Nizam Sayeed</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[kwargs]]></category>
		<category><![CDATA[models]]></category>
		<category><![CDATA[queries]]></category>

		<guid isPermaLink="false">http://www.nomadjourney.com/?p=190</guid>
		<description><![CDATA[A very easy way to dynamically build queries in Django is to use Python kwargs (keyword arguments). Let&#8217;s say we have a model that looks something like this: class Entry( models.Model ): user = models.ForeignKey( User, related_name = &#039;user_relation&#039; ) category = models.ForeignKey( Category, related_name = &#039;category_relation&#039; ) title = models.CharField( max_length = 64 ) [...]]]></description>
		<wfw:commentRss>http://www.nomadjourney.com/2009/04/dynamic-django-queries-with-kwargs/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

