HBNetwork / python-decouple

Strict separation of config from code.
MIT License
2.79k stars 192 forks source link

problem with mounted windows drive #117

Closed zszep closed 3 years ago

zszep commented 3 years ago

I have mounted a windows folder on a centos server and defined it in .env like this: LEGACY_DOCUMENTS_LOCATION = /mnt/uploads When loading the string in settings.py LEGACY_DOCUMENTS_LOCATION = config('LEGACY_DOCUMENTS_LOCATION') the slashes are being replaced by double backslashes.

zszep commented 3 years ago

Never mind. Solved it.