All articles tagged Development

Thumbnail image for Using Django Inside the Tornado Web Server

Using Django Inside the Tornado Web Server

<p>Inspired by Eric Florenzano’s talk,</p><p>Using Django in Non-Standard Ways</p><p>(</p><p>slides in</p><p>PDF</p><p>) at DjangoCon and the announcement of Tornado (</p><p>tornadoweb.org</p><p>), I decided to try building a small application using the Django Form library and Django …</p>
Thumbnail image for Highlighting Named Anchors with jQuery

Highlighting Named Anchors with jQuery

<p>I’ve always disliked the way named anchors (</p><p>&lt;a href="#name"&gt;...&lt;/a&gt;</p><p>) behave in browsers. It jumps your viewport to a different part of the page, but it’s rarely obvious which section you have landed on. If the page is long …</p>
Thumbnail image for Django Best Practices

Django Best Practices

<p>This post got a bit long-winded,</p><p>skip to the project announcment</p><p>if you prefer.</p><p>One of the things I love about Python and Django is the philosophy that</p><p>there is one obvious way to do things</p><p>. Standards make it …</p>
Thumbnail image for Open Source Government

Open Source Government

<p>While browsing the source code of President Obama’s latest web initiative,</p><p>recovery.org</p><p>, I noticed something of interest.</p><p>&lt;</p><p>script</p><p>type</p><p>=</p><p>"text/javascript"</p><p>&gt;</p><p>&lt;!--</p><p>//--&gt;&lt;![CDATA[//&gt;&lt;!--</p><p>jQuery</p><p>.</p><p>extend</p><p>(</p><p>Drupal</p><p>.</p><p>settings</p><p>,</p><p>{</p><p>"basePath"</p><p>:</p><p>"/"</p><p>});</p><p>//--&gt;&lt;!]]&gt; …</p>
Thumbnail image for Satchmo Screencast

Satchmo Screencast

<p>Satchmo</p><p>is an amazing E-Commerce engine built on top of Django. After struggling in the past with difficult packages like ZenCart and</p><p>OSC</p><p>ommerce, Satchmo’s ease of customization make it a joy to work with.</p><p>Unfortunately, all the features can …</p>
Thumbnail image for On Static Media and Django

On Static Media and Django

<p>We all know not to serve static media (images,</p><p>CSS</p><p>, Javascript, etc.) in production directly from Django. Thankfully, Django gives us some nice settings like</p><p>MEDIA</p><p>_URL</p><p>and</p><p>MEDIA</p><p>_ROOT</p><p>to make serving them a lot less painless. Lately, …</p>
Thumbnail image for Introduction to Gondola

Introduction to Gondola

<p>Gondola is our content management system built on top of Django. I briefly showed it off during</p><p>my DjangoCon Lightning Talk</p><p>, but have been wanting to give it a proper screencast for a while. Here’s an introduction:</p><p>A few …</p>