Django 1.5 port

This is the first time ever i've done any python work. Most of it (the templates) is done with a find/sed shellscript i found on stackoverflow. :)