move settings.py to common.py