Django Aware

Template Tags

Digg Style Pagination In Django Revisited

Thursday, March 19th, 2009

Months ago I wrote a Auto Adjusting Pagination As A Template Tag Plus Include post about a template tag that can paginate any result set on the fly producing a Digg style page widget. What is a Digg style page widget? Its pagination that breaks the list of pages into three dynamic groups. [...]

Porting Aware To Django

Monday, August 25th, 2008

A few years back I started a PC profiling service known as Aware Labs. It was originally written in C++ with a Windows MFC downloadable client. Six months ago I re-wrote the static website front end in Django so I could get a better handle on news and static updates. Today I’m [...]

Dynamic Length Truncate Tag

Wednesday, April 2nd, 2008

Almost a year ago I wrote about Simple Character Truncate Filter And Dot Dot Dot Variant which was a basic string truncate written as a Django filter. It worked great until I needed to dynamically specify the length. Turns out filters are not good at resolving context variables (at least I dont know [...]

Another IfModulo Template Tag Or If Else End Tutorial

Sunday, March 2nd, 2008

It seems that everyone on the world is rolling their own ifmodulo template tag these days. I figured I’d jump on the bandwagon. The problem I was attempting to solve was one of for loop counting for the purpose of creating multi column tables. For one of my pet projects Joost List, [...]

Auto Adjusting Pagination As A Template Tag Plus Include

Sunday, December 16th, 2007

This post has been updated, the source code is available for download on Digg Style Pagination In Django Revisited.
Django has made me really lazy. I never in my wildest dreams imagined I’d be wanting something simpler than the pagination already built into Django, but it has happened. On several projects now I’ve run [...]

Digg Technorati Delicious Blink List Furl Reddit Blog Submission Tag

Thursday, April 26th, 2007

Submitting your pages to popular blog sites like, Digg, Technorati, Delicious, Blink List, Furl, and Reddit is almost a standard feature on all sites today. In response I present a quick Django template tag that easily allows you to insert the submission links for each blog. The links are pre-formatted to match the [...]