Open fontoura opened 3 years ago
The temp folder used on models.py is hard-coded to "/tmp".
models.py
"/tmp"
This works fine in Linux as well as on Mac, but it breaks on Windows.
This pull request changes the hard-coded "/tmp" folder to a portable alternative, which allows djangosaml2idp to be used on Windows hosts.
@GlenDC and @IgnaceMaes I mede this small PR to fix a problem while running this in a Windows machine. Can you please check it out and maybe merge it?
@mhindery Can you take a look? Seems like a quick win!
The temp folder used on
models.py
is hard-coded to"/tmp"
.This works fine in Linux as well as on Mac, but it breaks on Windows.
This pull request changes the hard-coded
"/tmp"
folder to a portable alternative, which allows djangosaml2idp to be used on Windows hosts.