<?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 round 2</title>
	<atom:link href="http://justin.harmonize.fm/index.php/2008/09/django-round-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://justin.harmonize.fm/index.php/2008/09/django-round-2/</link>
	<description>A cup of coffee and a soapbox is like a bottle of Jack and a gun.</description>
	<lastBuildDate>Fri, 03 Feb 2012 21:19:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: versa106</title>
		<link>http://justin.harmonize.fm/index.php/2008/09/django-round-2/comment-page-1/#comment-109</link>
		<dc:creator>versa106</dc:creator>
		<pubDate>Mon, 09 Feb 2009 02:59:23 +0000</pubDate>
		<guid isPermaLink="false">http://justin.harmonize.fm/?p=14#comment-109</guid>
		<description>thanks!</description>
		<content:encoded><![CDATA[<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike bayer</title>
		<link>http://justin.harmonize.fm/index.php/2008/09/django-round-2/comment-page-1/#comment-11</link>
		<dc:creator>mike bayer</dc:creator>
		<pubDate>Mon, 08 Sep 2008 08:20:56 +0000</pubDate>
		<guid isPermaLink="false">http://justin.harmonize.fm/?p=14#comment-11</guid>
		<description>web designer doesn&#039;t need to learn Python just because there&#039;s some python in the template - this is a common overreaction to a problem that doesn&#039;t really exist.  I wrote an old rant about this here:  &lt;a href=&quot;http://techspot.zzzeek.org/?p=3&quot;&gt;http://techspot.zzzeek.org/?p=3&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>web designer doesn&#39;t need to learn Python just because there&#39;s some python in the template &#8211; this is a common overreaction to a problem that doesn&#39;t really exist.  I wrote an old rant about this here:  <a href="http://techspot.zzzeek.org/?p=3">http://techspot.zzzeek.org/?p=3</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: justin</title>
		<link>http://justin.harmonize.fm/index.php/2008/09/django-round-2/comment-page-1/#comment-10</link>
		<dc:creator>justin</dc:creator>
		<pubDate>Sat, 06 Sep 2008 02:26:50 +0000</pubDate>
		<guid isPermaLink="false">http://justin.harmonize.fm/?p=14#comment-10</guid>
		<description>I disagree. I think that content should be provided by the controller, but things that have to do with the look should be provided by the template.&lt;br&gt;&lt;br&gt;In one project, I have a base that every template inherits from. There are some basic view things that it figures out. Like if it&#039;s a mac, do one thing, if it&#039;s a PC, do another. I don&#039;t want to pass this display data with actual content every time, it&#039;s much better if the template just figures it out itself.</description>
		<content:encoded><![CDATA[<p>I disagree. I think that content should be provided by the controller, but things that have to do with the look should be provided by the template.</p>
<p>In one project, I have a base that every template inherits from. There are some basic view things that it figures out. Like if it&#39;s a mac, do one thing, if it&#39;s a PC, do another. I don&#39;t want to pass this display data with actual content every time, it&#39;s much better if the template just figures it out itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Yakovlev</title>
		<link>http://justin.harmonize.fm/index.php/2008/09/django-round-2/comment-page-1/#comment-9</link>
		<dc:creator>Alex Yakovlev</dc:creator>
		<pubDate>Sat, 06 Sep 2008 01:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://justin.harmonize.fm/?p=14#comment-9</guid>
		<description>Hello.&lt;br&gt;&lt;br&gt;This will do:&lt;br&gt;   {% for ping in object.pingback_set.all %}&lt;br&gt;&lt;br&gt;Current time, the name of the file, etc. - just pass them into a template as variables if you need them.&lt;br&gt;Web designer is not supposed to learn Python to create a template, programmer will make available any variables/info to her ;-)</description>
		<content:encoded><![CDATA[<p>Hello.</p>
<p>This will do:<br />   {% for ping in object.pingback_set.all %}</p>
<p>Current time, the name of the file, etc. &#8211; just pass them into a template as variables if you need them.<br />Web designer is not supposed to learn Python to create a template, programmer will make available any variables/info to her <img src='http://justin.harmonize.fm/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: justin</title>
		<link>http://justin.harmonize.fm/index.php/2008/09/django-round-2/comment-page-1/#comment-8</link>
		<dc:creator>justin</dc:creator>
		<pubDate>Fri, 05 Sep 2008 19:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://justin.harmonize.fm/?p=14#comment-8</guid>
		<description>I agree that you shouldn&#039;t use python in your templates, but there is a limit to this. For instance, lets say I wanted to print every pingback for a blog entry. I should be able to do something like:&lt;br&gt;&lt;br&gt;{% for ping in object.pingback_set.all() %}&lt;br&gt;&lt;br&gt;You can&#039;t do something as simple as this in the django template engine. There are other instances where arbitrary python is nice. Let&#039;s say you want to put the current time on the page. Or set the title to the name of the file. All these things benefit from being able to execute normal python, and are not outside the realm of the template engine.</description>
		<content:encoded><![CDATA[<p>I agree that you shouldn&#39;t use python in your templates, but there is a limit to this. For instance, lets say I wanted to print every pingback for a blog entry. I should be able to do something like:</p>
<p>{% for ping in object.pingback_set.all() %}</p>
<p>You can&#39;t do something as simple as this in the django template engine. There are other instances where arbitrary python is nice. Let&#39;s say you want to put the current time on the page. Or set the title to the name of the file. All these things benefit from being able to execute normal python, and are not outside the realm of the template engine.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

