I have follow this method to create a settings file with globals.
settings.py I have :
def init()
global test
test = True
in main.py :
import settings
settings.init()
print(globals())
I cannot see "test" in globals ! Any idea please ?