码迷,mamicode.com
首页 > 其他好文 > 详细

Django settings — Django 1.6 documentation

时间:2016-03-18 13:29:15      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:

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)?

Django settings — Django 1.6 documentation

标签:

原文地址:http://www.cnblogs.com/lexus/p/5291632.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!