import sys if 'runserver' in sys.argv: DJANGO_PREFIX = '' DJANGO_CDN_DOMAINS = ['localhost:8000'] DEBUG=True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'project_heatmap', 'USER': 'MYUSERNAME', 'PASSWORD': 'MYPASSWORD', 'HOST': 'localhost', 'PORT': '3306', } }