changed where custom keys are provided, default engine to django when extension is .html