Closed javierggt closed 2 years ago
I think this PR has been lingering and might be useful. @taldcroft did you have thoughts for more testing? Largely I'm just wondering which open or merged PRs should really just get in to a ska3-matlab without much fuss.
Description
This PR would Fix #201.
The way it is currently set up,
kadi
loads django if the DJANGO_SETTINGS_MODULE is not defined. The assumption is that, because django sets this variable during loading, if it is defined it means django is loaded. This fails when a child process is spawned, because the variable will be defined for children processes, but the children processes do no inherit the python module.I added another condition for loading django. Namely, that the
manvrs
variable is not defined withinkadi.events
.Possible things to do:
Testing
Fixes #