Django settings — Django 1.6 documentation
export DJANGO_SETTINGS_MODULE=mysite.settings django-admin.py runserverExample (Windows shell):
set DJANGO_SETTINGS_MODULE=mysite.settings django-admin.py runserverUse the --settings command-line argument to specify the settings manually:
django-admin.py runserver --settings=mysite.settingsOn the server (mod_wsgi)¶