djangosnippets.org: Latest snippets posted by bretwalkerhttp://djangosnippets.org/users/bretwalker/2008-12-16T17:14:45.760672-06:00bretwalkerFacebook Connect Middleware
2008-12-16T17:14:45.760672-06:00bretwalkerhttp://djangosnippets.org/snippets/1252/<p>This middleware will look for the cookies set when a Facebook Connect user authenticates to your site, read those cookies, determine if the logged in user is your Facebook friend and then log that user into your Django-powered site.</p>
<p>If you don't need the bit about friend verification, it should …</p>
Freely redistributableMovable Type Import
2007-12-17T17:24:06.223770-06:00bretwalkerhttp://djangosnippets.org/snippets/515/<p>This is a quick and dirty way to import blog entries and comments from Movable Type.</p>
<p>Sorry I don't have time to document it better. Hopefully it will help you get started if you're looking to move from MT to Django.</p>
Freely redistributableFlickr Sync
2007-06-29T14:49:02.114920-05:00bretwalkerhttp://djangosnippets.org/snippets/299/<p>This code provides a Django model for photos based on Flickr, as well as a script to perform a one-way sync between Flickr and a Django installation.
<em>Please note that the snipped contains code for two files, update.py and a Django model.</em>
<em>The two chunks are separated by:</em></p>
<pre><code>"""
END …</code></pre>
Freely redistributable