We had an issue with template loading on IIS for Windows and Python 3.4.
file (in AppLoader and AppRegexLoader) returns an absolute path which is directly read by IIS and where path separators are "/" and not "\".
The workaround is to use os.path.abspath( file ), we monkeypatch it for our deployment, and it works fine with NGinx and Apache too.
Hello,
We had an issue with template loading on IIS for Windows and Python 3.4. file (in AppLoader and AppRegexLoader) returns an absolute path which is directly read by IIS and where path separators are "/" and not "\". The workaround is to use os.path.abspath( file ), we monkeypatch it for our deployment, and it works fine with NGinx and Apache too.
All the best.