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.
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.pyLEGACY_DOCUMENTS_LOCATION = config('LEGACY_DOCUMENTS_LOCATION')
the slashes are being replaced by double backslashes.