Django settings — Django 1.6 documentation

452 단어
Django settings — Django 1.6 documentation
export DJANGO_SETTINGS_MODULE=mysite.settings
django-admin.py runserver

Example (Windows shell):
set DJANGO_SETTINGS_MODULE=mysite.settings
django-admin.py runserver

Use the --settings command-line argument to specify the settings manually:
django-admin.py runserver --settings=mysite.settings

On the server (mod_wsgi)¶

좋은 웹페이지 즐겨찾기