Done, and gets things smart.
It’s funny what a day’s wrestling with a hard problem can lead to as inspiration. I’m going to start with a piece of Django code that someone else wrote: Django Activity Stream, a simple piece of code that lets you track “everything” the actors in your system do: every bookmark made, every comment made, every [...]
There are plenty of places where you can find great examples of 404 pages. Salon.com is not one of them. I learned this today because I followed some links off an article about George Carlin that were poorly coded. Those links took me to Salon’s 404 page, which uses Salon’s standard layout, complete with ads. [...]
Inspired by Five Web Files That Will Improve Your Website, I decided this morning to implement OpenSearch on the Indieflix Website. (It’s not up yet, we’re still beta’ing it, and it’s along with a massive list of changes that still need testing, so don’t go looking for it.) OpenSearch is a way to turn your [...]
13Jul
Posted by Elf Sternberg as django, python, web development
As I’ve been working on a project at Indieflix, I’ve been evaluating other people’s code, including drop-ins, and for the past couple of days a pattern has emerged that, at first, bugged the hell out of me. Django has these lovely things called context processors– they allow you to attach specific elements of code to [...]