moving the global variables to settings.py