<?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: Django URL Parameter Passing and Python Strings</title>
	<atom:link href="http://blog.perplexedlabs.com/2009/04/22/django-url-parameter-passing-and-python-strings/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.perplexedlabs.com/2009/04/22/django-url-parameter-passing-and-python-strings/</link>
	<description>web development war stories from the frontlines to the backend</description>
	<lastBuildDate>Sat, 29 Oct 2011 10:05:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Andre</title>
		<link>http://blog.perplexedlabs.com/2009/04/22/django-url-parameter-passing-and-python-strings/comment-page-1/#comment-2136</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Thu, 23 Apr 2009 08:57:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.perplexedlabs.com/?p=224#comment-2136</guid>
		<description>If complete can only be True or False, I&#039;d recommend to change the regex to:

&#039;^mark/(?P\d+)/(?P[01])/$&#039;

or, I prefer:

&#039;^mark/(?P\d+)/(?P(true&#124;false))/$&#039;

And then

todo.complete = (complete==&quot;true&quot;)

....</description>
		<content:encoded><![CDATA[<p>If complete can only be True or False, I&#8217;d recommend to change the regex to:</p>
<p>&#8216;^mark/(?P\d+)/(?P[01])/$&#8217;</p>
<p>or, I prefer:</p>
<p>&#8216;^mark/(?P\d+)/(?P(true|false))/$&#8217;</p>
<p>And then</p>
<p>todo.complete = (complete==&#8221;true&#8221;)</p>
<p>&#8230;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

