class Engine(dirs=None, app_dirs=False, context_processors=None, debug=False, loaders=None, string_if_invalid='', file_charset='utf-8', libraries=None, builtins=None, autoescape=True) [source]
When instantiating an Engine all arguments must be passed as keyword arguments:
dirs is a list of directories where the engine should look for template source files. It is used to configure filesystem.Loader. It defaults to an empty list.
app_dirs only affects the default value of loaders. See below