<?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/"
	>

<channel>
	<title>dannyroa &#187; django</title>
	<atom:link href="http://www.dannyroa.com/tag/django/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dannyroa.com</link>
	<description>tech, music, travel</description>
	<lastBuildDate>Thu, 12 Jan 2012 19:23:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Default values when creating new row in Django Admin</title>
		<link>http://www.dannyroa.com/2010/06/20/default-values-when-creating-new-row-in-django-admin/</link>
		<comments>http://www.dannyroa.com/2010/06/20/default-values-when-creating-new-row-in-django-admin/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 02:56:08 +0000</pubDate>
		<dc:creator>dannyr</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[django]]></category>

		<guid isPermaLink="false">http://blog.dannyroa.com/?p=173</guid>
		<description><![CDATA[In one of the apps I'm developing at work, I wanted to make it easy for our content admins to create a new row in the Django Admin. Most of the time, they need to create a new row that is associated to their own user account. It would save them a couple of steps if the user field is set to a default value]]></description>
			<content:encoded><![CDATA[<p>In one of the apps I&#8217;m developing at work, I wanted to make it easy for our content admins to create a new row in the Django Admin. Most of the time, they need to create a new row that is associated to their own user account. It would save them a couple of steps if the user field is set to a default value. Thanks to my coworker, <a title="Dave Ziegler" href="http://twitter.com/david_ziegler">Dave Ziegler</a>,  for helping me  figure this out.</p>
<p><script src="http://gist.github.com/446318.js"></script></p>
<p><em>Extra tip: </em><br />
use raw_id_fields in Django Admin. This is especially useful when you have plenty of users. What you&#8217;ll see is the id of the user in the text field with a link to look up users next to it (instead of a dropdown containing usernames of all the users).<br />
If you don&#8217;t set the raw_id_fields, it would take a long time for Django Admin to load the &#8216;Change &#8216; page since all the users in your database needs to be loaded.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dannyroa.com/2010/06/20/default-values-when-creating-new-row-in-django-admin/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Google Friend Connect &amp; Facebook Connect Code Walk-through</title>
		<link>http://www.dannyroa.com/2009/04/20/google-friend-connect-facebook-connect-code-walk-through/</link>
		<comments>http://www.dannyroa.com/2009/04/20/google-friend-connect-facebook-connect-code-walk-through/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 07:20:45 +0000</pubDate>
		<dc:creator>dannyr</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[facebookconnect]]></category>
		<category><![CDATA[googleappengine]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.dannyroa.com/?p=140</guid>
		<description><![CDATA[Here is Python code for integrating Google Friend Connect and Facebook Connect authentication to your site. I will be updating this post soon. For the meantime, check the source code. Views.py facebookconnect.py googlefriendconnect.py utils.py index.html login.html]]></description>
			<content:encoded><![CDATA[<p>Here is Python code for integrating Google Friend Connect and Facebook Connect authentication to your site. I will be updating this post soon. For the meantime, check the source code.</p>
<p>Views.py<br />
<script src="http://widgets.clearspring.com/o/49c725b6cdc5aa01/49cfc78fac9244d2/49c725b6cdc5aa01/ba8696ea/-/-/-/id/5001/widget.js" type="text/javascript"></script> facebookconnect.py <script src="http://widgets.clearspring.com/o/49c725b6cdc5aa01/49cfc78fac9244d2/49c725b6cdc5aa01/ba8696ea/-/-/-/id/5002/widget.js" type="text/javascript"></script></p>
<p>googlefriendconnect.py<br />
<script src="http://widgets.clearspring.com/o/49c725b6cdc5aa01/49cfc78fac9244d2/49c725b6cdc5aa01/ba8696ea/-/-/-/id/5003/widget.js" type="text/javascript"></script> utils.py <script src="http://widgets.clearspring.com/o/49c725b6cdc5aa01/49cfc78fac9244d2/49c725b6cdc5aa01/ba8696ea/-/-/-/id/5004/widget.js" type="text/javascript"></script></p>
<p>index.html<br />
<script src="http://widgets.clearspring.com/o/49c725b6cdc5aa01/49cfc78fac9244d2/49c725b6cdc5aa01/ba8696ea/-/-/-/id/5005/widget.js" type="text/javascript"></script> login.html <script src="http://widgets.clearspring.com/o/49c725b6cdc5aa01/49cfc78fac9244d2/49c725b6cdc5aa01/ba8696ea/-/-/-/id/6001/widget.js" type="text/javascript"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dannyroa.com/2009/04/20/google-friend-connect-facebook-connect-code-walk-through/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

