Updated 2 lines of template to django 1.5 syntax

This seems to make everything play nice with Django 1.5 for me.