Django app template updated for Django 1.7.