Updated app to use Django templates directly.