Updated template to Django 1.6