Templates adapted to Django 1.5.4