DIRS must be forward slashes, even in Windows. Forward slashes do not need escaping, and they are cross Operating System compatible.
The TEMPLATE setting is a list of the template engines used when finding template files and rendering them.
The DIRS key within the TEMPLATE list denotes the directories where the engine should look for template source files.
If our GitHub code review bot spots this issue in your pull request it gives this advice: