Fixes Syntax so templates work on Django 1.5.x