<?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: exposing settings in templates, the easy way</title>
	<atom:link href="http://mihasya.com/blog/django-exposing-settings-in-templates-the-easy-way/feed/" rel="self" type="application/rss+xml" />
	<link>http://mihasya.com/blog/django-exposing-settings-in-templates-the-easy-way/</link>
	<description>good things now come in packages of three</description>
	<lastBuildDate>Sat, 23 Jul 2011 22:40:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
	<item>
		<title>By: Mike Blackaller</title>
		<link>http://mihasya.com/blog/django-exposing-settings-in-templates-the-easy-way/comment-page-1/#comment-3728</link>
		<dc:creator>Mike Blackaller</dc:creator>
		<pubDate>Sat, 06 Mar 2010 19:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://mihasya.com/blog/?p=285#comment-3728</guid>
		<description>&lt;p&gt;Thanks for this post. I am new at development and this is a big help.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for this post. I am new at development and this is a big help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Malone</title>
		<link>http://mihasya.com/blog/django-exposing-settings-in-templates-the-easy-way/comment-page-1/#comment-2576</link>
		<dc:creator>Mike Malone</dc:creator>
		<pubDate>Mon, 27 Jul 2009 17:47:27 +0000</pubDate>
		<guid isPermaLink="false">http://mihasya.com/blog/?p=285#comment-2576</guid>
		<description>&lt;p&gt;Another approach is to use the get_safe_settings function from django.views.debug. If you use that function, make sure you look at it&#039;s implementation since it just filters for certain words that make a setting &quot;dangerous&quot; (like &quot;password&quot;). Here&#039;s my context processor for getting settings into templates: http://gist.github.com/156638&lt;/p&gt;

&lt;p&gt;The code for get_safe_settings is here: http://code.djangoproject.com/browser/django/trunk/django/views/debug.py#L13&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Another approach is to use the get_safe_settings function from django.views.debug. If you use that function, make sure you look at it&#8217;s implementation since it just filters for certain words that make a setting &#8220;dangerous&#8221; (like &#8220;password&#8221;). Here&#8217;s my context processor for getting settings into templates: <a href="http://gist.github.com/156638" rel="nofollow">http://gist.github.com/156638</a></p>

<p>The code for get_safe_settings is here: <a href="http://code.djangoproject.com/browser/django/trunk/django/views/debug.py#L13" rel="nofollow">http://code.djangoproject.com/browser/django/trunk/django/views/debug.py#L13</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
