<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - chrisaiv</title>
<link>http://snipplr.com/users/chrisaiv/tags/django</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 18 May 2013 18:13:01 GMT</pubDate>
<item>
<title>(Django) Django: 3 ways to serve templates in views.py</title>
<link>http://snipplr.com/view/62232/django-3-ways-to-serve-templates-in-viewspy/</link>
<description><![CDATA[ <p>There are so many ways to serve templates within views.py that sometimes it's hard to get a handle on which is ideal for a project.  This snippet does not attempt to explain every possible way to serve a template, simply a few I've found helpful organized from low-level (more code) to high-level (less code)</p> ]]></description>
<pubDate>Tue, 03 Jan 2012 03:36:32 GMT</pubDate>
<guid>http://snipplr.com/view/62232/django-3-ways-to-serve-templates-in-viewspy/</guid>
</item>
<item>
<title>(Django) Django: Configuring settings.py to rely on relative paths rather than absolute</title>
<link>http://snipplr.com/view/62113/django-configuring-settingspy-to-rely-on-relative-paths-rather-than-absolute/</link>
<description><![CDATA[ <p>Hate absolute Paths? Me too, I always end up forgetting to change things around when I go into production mode.  Thankfully, there's a nice, clean way to have Python do all the hard work.</p> ]]></description>
<pubDate>Sat, 24 Dec 2011 03:24:17 GMT</pubDate>
<guid>http://snipplr.com/view/62113/django-configuring-settingspy-to-rely-on-relative-paths-rather-than-absolute/</guid>
</item>
<item>
<title>(Python) Python: Dynamically obtain absolute path of project_folder</title>
<link>http://snipplr.com/view/57430/python-dynamically-obtain-absolute-path-of-projectfolder/</link>
<description><![CDATA[ <p>Hard-coding absolute paths is never ideal so here's a quick way to reference your project folder</p> ]]></description>
<pubDate>Sun, 31 Jul 2011 11:46:52 GMT</pubDate>
<guid>http://snipplr.com/view/57430/python-dynamically-obtain-absolute-path-of-projectfolder/</guid>
</item>
</channel>
</rss>