<?xml version="1.0" encoding="iso-8859-1"?><!-- generator="b2evolution/3.3.3" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Another Software Engineer Another Technology Blog</title>
		<link>http://www.coding4life.com/</link>
		<atom:link rel="self" type="application/rss+xml" href="http://www.coding4life.com/?tempskin=_rss2" />
		<description></description>
		<language>en-US</language>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=3.3.3"/>
		<ttl>60</ttl>
				<item>
			<title>CSS Selectors</title>
			<link>http://www.coding4life.com/technology/css/css-selectors</link>
			<pubDate>Sat, 01 Jan 2011 12:27:25 +0000</pubDate>			<dc:creator>David Orkin</dc:creator>
			<category domain="main">css</category>			<guid isPermaLink="false">361@http://138llc.com/blog//</guid>
						<description>&lt;p&gt;Recently I switched the style in which I write css files. I used to write 1 line per attribute, which made for very long files. It may have improved readibility for a given entry but it made working with the overall file much more difficult. Totally enjoying the 1 line syntax.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.coding4life.com/technology/css/css-selectors&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Recently I switched the style in which I write css files. I used to write 1 line per attribute, which made for very long files. It may have improved readibility for a given entry but it made working with the overall file much more difficult. Totally enjoying the 1 line syntax.</p><div class="item_footer"><p><small><a href="http://www.coding4life.com/technology/css/css-selectors">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.coding4life.com/technology/css/css-selectors#comments</comments>
			<wfw:commentRss>http://www.coding4life.com/?tempskin=_rss2&#38;disp=comments&#38;p=361</wfw:commentRss>
		</item>
				<item>
			<title>Devils Unicorn?</title>
			<link>http://www.coding4life.com/websites/devils-unicorn</link>
			<pubDate>Sun, 19 Dec 2010 08:29:47 +0000</pubDate>			<dc:creator>David Orkin</dc:creator>
			<category domain="main">Websites</category>			<guid isPermaLink="false">359@http://138llc.com/blog//</guid>
						<description>&lt;p&gt;As silly as it sounds, I can't remember when I the last time I wrote if statements, solely to generate laughs (or at least I hope a few chuckles &lt;img src=&quot;http://138llc.com/blog/rsc/smilies/icon_wink.gif&quot; alt=&quot;&amp;#59;&amp;#41;&quot; class=&quot;middle&quot; /&gt; ) So after reading an article over at &lt;a title=&quot;In Lou We Trust&quot; href=&quot;http://www.inlouwetrust.com/2010/12/14/1875926/brian-rolston-on-waivers-what-happens-now&quot; target=&quot;_blank&quot;&gt;In Lou We Trust&lt;/a&gt; that listed a unicorn as one of the few ways left to salvage the The New Jersey Devils season, I took up a challenge as a fan, and present to you what I hope is the begining to a drive towards a playoff spot.&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&lt;a title=&quot;Danger, the Unoffical Devil's Unicorn Mascot&quot; href=&quot;http://www.devilsunicorn.com&quot; target=&quot;_blank&quot;&gt;Danger, the magical unicorn&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.coding4life.com/websites/devils-unicorn&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>As silly as it sounds, I can't remember when I the last time I wrote if statements, solely to generate laughs (or at least I hope a few chuckles <img src="http://138llc.com/blog/rsc/smilies/icon_wink.gif" alt="&#59;&#41;" class="middle" /> ) So after reading an article over at <a title="In Lou We Trust" href="http://www.inlouwetrust.com/2010/12/14/1875926/brian-rolston-on-waivers-what-happens-now" target="_blank">In Lou We Trust</a> that listed a unicorn as one of the few ways left to salvage the The New Jersey Devils season, I took up a challenge as a fan, and present to you what I hope is the begining to a drive towards a playoff spot.</p>
<p>&#160;</p>
<p><a title="Danger, the Unoffical Devil's Unicorn Mascot" href="http://www.devilsunicorn.com" target="_blank">Danger, the magical unicorn</a></p><div class="item_footer"><p><small><a href="http://www.coding4life.com/websites/devils-unicorn">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.coding4life.com/websites/devils-unicorn#comments</comments>
			<wfw:commentRss>http://www.coding4life.com/?tempskin=_rss2&#38;disp=comments&#38;p=359</wfw:commentRss>
		</item>
				<item>
			<title>New location for the mysql socket in Karmic Koala</title>
			<link>http://www.coding4life.com/operating-systems/ubuntu/new-location-for-the-mysql-socket-in-karmic-koala</link>
			<pubDate>Sun, 08 Nov 2009 05:12:07 +0000</pubDate>			<dc:creator>David Orkin</dc:creator>
			<category domain="main">Ubuntu</category>
<category domain="alt">Ruby on Rails</category>
<category domain="alt">9.10 Karmic Koala</category>			<guid isPermaLink="false">249@http://138llc.com/blog//</guid>
						<description>&lt;p&gt;Just loaded up my development environment for one of my rails application, which I haven't used since I upgraded to Ubuntu 9.10 (Karmic Koala) to find  that my application wouldn't run. Turns out that the mysql socket is now in /var/run/mysqld/mysqld.sock. Note: its not mysql.sock but mysqld.sock now. Anyways back to  work...&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.coding4life.com/operating-systems/ubuntu/new-location-for-the-mysql-socket-in-karmic-koala&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Just loaded up my development environment for one of my rails application, which I haven't used since I upgraded to Ubuntu 9.10 (Karmic Koala) to find  that my application wouldn't run. Turns out that the mysql socket is now in /var/run/mysqld/mysqld.sock. Note: its not mysql.sock but mysqld.sock now. Anyways back to  work...</p><div class="item_footer"><p><small><a href="http://www.coding4life.com/operating-systems/ubuntu/new-location-for-the-mysql-socket-in-karmic-koala">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.coding4life.com/operating-systems/ubuntu/new-location-for-the-mysql-socket-in-karmic-koala#comments</comments>
			<wfw:commentRss>http://www.coding4life.com/?tempskin=_rss2&#38;disp=comments&#38;p=249</wfw:commentRss>
		</item>
				<item>
			<title>Deploying to Staging and Production Environments via Capistrano</title>
			<link>http://www.coding4life.com/web-application-frameworks/ruby-on-rails/capistrano/deploying-to-staging-and-production-environments-via-capistrano</link>
			<pubDate>Mon, 26 Oct 2009 12:43:55 +0000</pubDate>			<dc:creator>David Orkin</dc:creator>
			<category domain="alt">Ubuntu</category>
<category domain="main">Capistrano</category>
<category domain="alt">Ruby</category>			<guid isPermaLink="false">245@http://138llc.com/blog//</guid>
						<description>&lt;p&gt;&lt;p&gt;Ok, so I admit it. Im late to the game as far as using capistrano for deployment of my rails applications. &lt;br /&gt;But I figured, today is a nice rainy day and a great opportunity to give this a shot. Below is the play by play for getting capistrano set up to work. &lt;br /&gt;Im going to make some initial assumptions. First, you are using subversion. &lt;br /&gt;Second, you want to be able to deploy to different environments, (in my case Staging and Production).&lt;br /&gt;Third, you are using a shared hosting environment, using Phusion Passenger&lt;br /&gt;Fourth, you are running your deployment for a linux machine. What follows below assumes Ubuntu in particular.&lt;br /&gt;Fifth, and finally, you like reading verbose posts about technology on random blogs that you come across 'dem internet tubes.&lt;br /&gt;So follow me inside, for more on deploying your ruby on rails application with Capistrano&lt;br /&gt; &lt;/p&gt;&lt;a href=&quot;http://www.coding4life.com/web-application-frameworks/ruby-on-rails/capistrano/deploying-to-staging-and-production-environments-via-capistrano#more245&quot;&gt;Read more &amp;raquo;&lt;/a&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.coding4life.com/web-application-frameworks/ruby-on-rails/capistrano/deploying-to-staging-and-production-environments-via-capistrano&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p><p>Ok, so I admit it. Im late to the game as far as using capistrano for deployment of my rails applications. <br />But I figured, today is a nice rainy day and a great opportunity to give this a shot. Below is the play by play for getting capistrano set up to work. <br />Im going to make some initial assumptions. First, you are using subversion. <br />Second, you want to be able to deploy to different environments, (in my case Staging and Production).<br />Third, you are using a shared hosting environment, using Phusion Passenger<br />Fourth, you are running your deployment for a linux machine. What follows below assumes Ubuntu in particular.<br />Fifth, and finally, you like reading verbose posts about technology on random blogs that you come across 'dem internet tubes.<br />So follow me inside, for more on deploying your ruby on rails application with Capistrano<br /> </p><a href="http://www.coding4life.com/web-application-frameworks/ruby-on-rails/capistrano/deploying-to-staging-and-production-environments-via-capistrano#more245">Read more &raquo;</a><div class="item_footer"><p><small><a href="http://www.coding4life.com/web-application-frameworks/ruby-on-rails/capistrano/deploying-to-staging-and-production-environments-via-capistrano">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.coding4life.com/web-application-frameworks/ruby-on-rails/capistrano/deploying-to-staging-and-production-environments-via-capistrano#comments</comments>
			<wfw:commentRss>http://www.coding4life.com/?tempskin=_rss2&#38;disp=comments&#38;p=245</wfw:commentRss>
		</item>
				<item>
			<title>Displaying Japanese in Adobe Reader 9.1.2 on Linux</title>
			<link>http://www.coding4life.com/technology/pdf/displaying-japanese-in-adobe-reader-9-1-2-on-linux</link>
			<pubDate>Fri, 09 Oct 2009 04:17:50 +0000</pubDate>			<dc:creator>David Orkin</dc:creator>
			<category domain="main">PDF</category>			<guid isPermaLink="false">238@http://138llc.com/blog//</guid>
						<description>&lt;p&gt;Wanted to do a quick follow up post for those users who need asian languages to be displayed in Adobe Reader 9.1.2 for linux. The application will tell you to go to the &lt;a title=&quot;Adobe Reader - Asian and Extended Language Font Packs&quot; href=&quot;http://www.adobe.com/products/acrobat/acrrasianfontpack.html&quot; target=&quot;_blank&quot;&gt;Adobe Reader - Asian and Extended Language Font Packs&lt;/a&gt; page but you notice that at least at the time of this post that there is no option for Adobe Reader 9 in the adobe reader drop-down list and if you try to install from the Adobe Reader 8 files it won't work. Here is a link to the only site that I have found that has the &lt;a title=&quot;Asian Font Packs for Adobe Reader 9.1.2&quot; href=&quot;http://aur.archlinux.org/packages.php?ID=25316&quot; target=&quot;_blank&quot;&gt;asian font packs for 9.1.2&lt;/a&gt;.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.coding4life.com/technology/pdf/displaying-japanese-in-adobe-reader-9-1-2-on-linux&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Wanted to do a quick follow up post for those users who need asian languages to be displayed in Adobe Reader 9.1.2 for linux. The application will tell you to go to the <a title="Adobe Reader - Asian and Extended Language Font Packs" href="http://www.adobe.com/products/acrobat/acrrasianfontpack.html" target="_blank">Adobe Reader - Asian and Extended Language Font Packs</a> page but you notice that at least at the time of this post that there is no option for Adobe Reader 9 in the adobe reader drop-down list and if you try to install from the Adobe Reader 8 files it won't work. Here is a link to the only site that I have found that has the <a title="Asian Font Packs for Adobe Reader 9.1.2" href="http://aur.archlinux.org/packages.php?ID=25316" target="_blank">asian font packs for 9.1.2</a>.</p><div class="item_footer"><p><small><a href="http://www.coding4life.com/technology/pdf/displaying-japanese-in-adobe-reader-9-1-2-on-linux">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.coding4life.com/technology/pdf/displaying-japanese-in-adobe-reader-9-1-2-on-linux#comments</comments>
			<wfw:commentRss>http://www.coding4life.com/?tempskin=_rss2&#38;disp=comments&#38;p=238</wfw:commentRss>
		</item>
				<item>
			<title>Installing Adobe Reader 9.1.2  (acroread) on Ubuntu 9.0.4</title>
			<link>http://www.coding4life.com/technology/pdf/adobe-reader-on-ubuntu-japanese-support</link>
			<pubDate>Thu, 08 Oct 2009 06:33:23 +0000</pubDate>			<dc:creator>David Orkin</dc:creator>
			<category domain="alt">Ubuntu</category>
<category domain="main">PDF</category>			<guid isPermaLink="false">235@http://138llc.com/blog//</guid>
						<description>&lt;p&gt;Where there are some free alternatives for viewing pdfs on linux they just don't look right when there is Japanese in the pdf. So I decided to install Adobe Reader for linux. In the past this might have been a task that would be slightly less painful than say pulling out my fingernails with a pair of pliers These days it is pretty painless. Below is the steps to get Adobe Reader installed on Ubuntu.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 1 - Download Adobe Reader from the Adobe website. &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a title=&quot;Download Adobe Reader&quot; href=&quot;http://get.adobe.com/reader/&quot; target=&quot;_blank&quot;&gt;Get Adobe Reader &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Step 2 - Run The Binary you just downloaded&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For my machine the binary file is AdbeRdr9.1.2-1_i486linux_enu.bin but it may be different for you depending on your machine. This is the command to run the binary. Note that I am in the same directory that I downloaded the file into.&lt;/p&gt;
&lt;pre&gt;sudo ./AdbeRdr9.1.2-1_i486linux_enu.bin&lt;/pre&gt;
&lt;p&gt;You will be prompted to choose an installation directory (or just hit return if your fine with the default) and then you will see the output listed below.&lt;/p&gt;
&lt;pre&gt;Extracting files, please wait. (This may take a while depending on the configuration of your machine)

This installation requires 145 MB of free disk space.

Enter installation directory for Adobe Reader 9.1.2 [/opt]  
/opt

Installing platform independent files ... Done
Installing platform dependent files ... Done
Setting up libraries ... Done
Setting up desktop and menu icons ... Done
Setting up the browser plugin ... Done

&lt;/pre&gt;
&lt;p&gt;Once its done you should now have a working version of Adobe Reader on your linux box.&lt;/p&gt;
&lt;p&gt;To run Adobe Reader simply type &quot;acroread&quot; from the command line and Adobe Reader will launch. You can also launch it from the Applications -&amp;gt; Office Menu. The first time you run it you will be presented with Adobe's &lt;a title=&quot;End User Licensing Agreement&quot; href=&quot;http://en.wikipedia.org/wiki/EULA#End-user_license_agreement&quot; target=&quot;_blank&quot;&gt;EULA&lt;/a&gt;, after accepting it, you are free to run Adobe Reader.&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.coding4life.com/technology/pdf/adobe-reader-on-ubuntu-japanese-support&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Where there are some free alternatives for viewing pdfs on linux they just don't look right when there is Japanese in the pdf. So I decided to install Adobe Reader for linux. In the past this might have been a task that would be slightly less painful than say pulling out my fingernails with a pair of pliers These days it is pretty painless. Below is the steps to get Adobe Reader installed on Ubuntu.</p>
<p><strong>Step 1 - Download Adobe Reader from the Adobe website. </strong></p>
<p><a title="Download Adobe Reader" href="http://get.adobe.com/reader/" target="_blank">Get Adobe Reader </a></p>
<p><strong>Step 2 - Run The Binary you just downloaded</strong></p>
<p>For my machine the binary file is AdbeRdr9.1.2-1_i486linux_enu.bin but it may be different for you depending on your machine. This is the command to run the binary. Note that I am in the same directory that I downloaded the file into.</p>
<pre>sudo ./AdbeRdr9.1.2-1_i486linux_enu.bin</pre>
<p>You will be prompted to choose an installation directory (or just hit return if your fine with the default) and then you will see the output listed below.</p>
<pre>Extracting files, please wait. (This may take a while depending on the configuration of your machine)

This installation requires 145 MB of free disk space.

Enter installation directory for Adobe Reader 9.1.2 [/opt]  
/opt

Installing platform independent files ... Done
Installing platform dependent files ... Done
Setting up libraries ... Done
Setting up desktop and menu icons ... Done
Setting up the browser plugin ... Done

</pre>
<p>Once its done you should now have a working version of Adobe Reader on your linux box.</p>
<p>To run Adobe Reader simply type "acroread" from the command line and Adobe Reader will launch. You can also launch it from the Applications -&gt; Office Menu. The first time you run it you will be presented with Adobe's <a title="End User Licensing Agreement" href="http://en.wikipedia.org/wiki/EULA#End-user_license_agreement" target="_blank">EULA</a>, after accepting it, you are free to run Adobe Reader.</p><div class="item_footer"><p><small><a href="http://www.coding4life.com/technology/pdf/adobe-reader-on-ubuntu-japanese-support">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.coding4life.com/technology/pdf/adobe-reader-on-ubuntu-japanese-support#comments</comments>
			<wfw:commentRss>http://www.coding4life.com/?tempskin=_rss2&#38;disp=comments&#38;p=235</wfw:commentRss>
		</item>
				<item>
			<title>Using Django to Serve Static Files in Development</title>
			<link>http://www.coding4life.com/web-application-frameworks/django/serving-static-files-in-development-media_root</link>
			<pubDate>Tue, 06 Oct 2009 07:20:54 +0000</pubDate>			<dc:creator>David Orkin</dc:creator>
			<category domain="alt">Python</category>
<category domain="main">Django</category>			<guid isPermaLink="false">233@http://138llc.com/blog//</guid>
						<description>&lt;p&gt;So by default Django doesnt serve static files because, well, it doesn't serve them as well as a web server like Apache would. But one small thing struck me as odd in the online documentation that describes &lt;a title=&quot;How to Serve Static Files via Django&quot; href=&quot;http://docs.djangoproject.com/en/dev/howto/static-files/&quot; target=&quot;_blank&quot;&gt;how to serve static files&lt;/a&gt; in the snippet below&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;pre&gt;
if settings.DEBUG:
    urlpatterns += patterns('',
        (r'^site_media/(?P&lt;path&gt;.*)$', 'django.views.static.serve', {'document_root': '/path/to/media'}),
    )
&lt;/path&gt;&lt;/pre&gt;

&lt;p&gt;Why wouldn't you use the MEDIA_ROOT variable from settings.py? Granted this may not be the biggest issue, but if given the choice, I think my preference would be to keep the settings for the application in settings.py, you know the file &lt;i&gt;for application settings&lt;/i&gt;. Yes I know this shouldn't be used outside of development, but still wonder what the advantage of doing it this way would be...&lt;/p&gt;

&lt;p&gt;Below is the code I am currently using, &lt;/p&gt;

&lt;pre&gt;
if settings.DEBUG:
    urlpatterns += patterns('',
        (r'^site_media/(?P&lt;path&gt;.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
    )
&lt;/path&gt;&lt;/pre&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.coding4life.com/web-application-frameworks/django/serving-static-files-in-development-media_root&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>So by default Django doesnt serve static files because, well, it doesn't serve them as well as a web server like Apache would. But one small thing struck me as odd in the online documentation that describes <a title="How to Serve Static Files via Django" href="http://docs.djangoproject.com/en/dev/howto/static-files/" target="_blank">how to serve static files</a> in the snippet below</p>
<p>&#160;</p>
<pre>
if settings.DEBUG:
    urlpatterns += patterns('',
        (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/path/to/media'}),
    )
</path></pre>

<p>Why wouldn't you use the MEDIA_ROOT variable from settings.py? Granted this may not be the biggest issue, but if given the choice, I think my preference would be to keep the settings for the application in settings.py, you know the file <i>for application settings</i>. Yes I know this shouldn't be used outside of development, but still wonder what the advantage of doing it this way would be...</p>

<p>Below is the code I am currently using, </p>

<pre>
if settings.DEBUG:
    urlpatterns += patterns('',
        (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
    )
</path></pre><div class="item_footer"><p><small><a href="http://www.coding4life.com/web-application-frameworks/django/serving-static-files-in-development-media_root">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.coding4life.com/web-application-frameworks/django/serving-static-files-in-development-media_root#comments</comments>
			<wfw:commentRss>http://www.coding4life.com/?tempskin=_rss2&#38;disp=comments&#38;p=233</wfw:commentRss>
		</item>
				<item>
			<title>Template Inheritance in Django (aka The Django equivalent of a Rails layout)</title>
			<link>http://www.coding4life.com/web-application-frameworks/django/rendering-partial-templates-in-django</link>
			<pubDate>Tue, 06 Oct 2009 06:59:52 +0000</pubDate>			<dc:creator>David Orkin</dc:creator>
			<category domain="alt">Python</category>
<category domain="main">Django</category>
<category domain="alt">Ruby on Rails</category>			<guid isPermaLink="false">232@http://138llc.com/blog//</guid>
						<description>&lt;p&gt;Whew, I was worried there for a second. Coming for the rails world, Im very familar with layouts and partial templates, something that I thought was completely missing from Django but I am so happy to be proven wrong. Thankfully there is a rather simple way to do this using &lt;a title=&quot;Template Inheritance in Django&quot; href=&quot;http://docs.djangoproject.com/en/dev/topics/templates/#id1&quot; target=&quot;_blank&quot;&gt;Template Inheritance&lt;/a&gt; which allows for a template to extend another template, and then, using their block syntax, overwrite portions of the template that its extending. Another classic example of why the term &lt;a title=&quot;Read the Fucking Manual&quot; href=&quot;http://en.wikipedia.org/wiki/RTFM&quot; target=&quot;_blank&quot;&gt;RTFM&lt;/a&gt; was coined in the first place. Ok, now I get back to work on launching that Django application I've been working on!&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://www.coding4life.com/web-application-frameworks/django/rendering-partial-templates-in-django&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Whew, I was worried there for a second. Coming for the rails world, Im very familar with layouts and partial templates, something that I thought was completely missing from Django but I am so happy to be proven wrong. Thankfully there is a rather simple way to do this using <a title="Template Inheritance in Django" href="http://docs.djangoproject.com/en/dev/topics/templates/#id1" target="_blank">Template Inheritance</a> which allows for a template to extend another template, and then, using their block syntax, overwrite portions of the template that its extending. Another classic example of why the term <a title="Read the Fucking Manual" href="http://en.wikipedia.org/wiki/RTFM" target="_blank">RTFM</a> was coined in the first place. Ok, now I get back to work on launching that Django application I've been working on!</p>
<p>&#160;</p><div class="item_footer"><p><small><a href="http://www.coding4life.com/web-application-frameworks/django/rendering-partial-templates-in-django">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://www.coding4life.com/web-application-frameworks/django/rendering-partial-templates-in-django#comments</comments>
			<wfw:commentRss>http://www.coding4life.com/?tempskin=_rss2&#38;disp=comments&#38;p=232</wfw:commentRss>
		</item>
			</channel>
</rss>

