<?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/"
	xmlns:georss="http://www.georss.org/georss">

<channel>
	<title>Here comes the Sun &#187; pylons</title>
	<atom:link href="http://sunng.info/blog/tag/pylons/feed/" rel="self" type="application/rss+xml" />
	<link>http://sunng.info/blog</link>
	<description>Life ramblings</description>
	<lastBuildDate>Thu, 02 Sep 2010 12:29:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Pylons Tips</title>
		<link>http://sunng.info/blog/2009/07/pylons-tips/</link>
		<comments>http://sunng.info/blog/2009/07/pylons-tips/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 13:09:36 +0000</pubDate>
		<dc:creator>Sunng</dc:creator>
				<category><![CDATA[手艺]]></category>
		<category><![CDATA[pylons]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.classicning.com/blog/?p=87</guid>
		<description><![CDATA[All scripts created by paster(paster create, paster controller and etc.) uses 4 spaces as indent while many editors(vim) uses tabs automatically. Different indent in one file will cause fatal error. h.url_for is a popular helper function in many books and tutorials which to solve url mapping. This tool is no longer available by default since [...]]]></description>
			<content:encoded><![CDATA[<p>All scripts created by paster(paster create, paster controller and etc.) uses 4 spaces as indent while many editors(vim) uses tabs automatically. Different indent in one file will cause fatal error.</p>
<p><em>h.url_for</em> is a popular helper function in many books and tutorials which to solve url mapping. This tool is no longer available by default since 0.97. If you got error message like &#8220;AttributeError: &#8216;module&#8217; object has no attribute &#8216;url_for&#8217;&#8221;, just add</p>
<p>[codesyntax lang="python"]from routes import url_for[/codesyntax]<br />
to<em> yourapp/libs/helper.py</em> .</p>
]]></content:encoded>
			<wfw:commentRss>http://sunng.info/blog/2009/07/pylons-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
