标签:run 配置 dir div 写入 man project pass 详解
创建django程序
DATABAES = {‘default‘:{‘ENGINE‘:‘django.db.backends.mysql‘,‘NAME‘:‘dbname‘,‘USER‘:‘root‘,‘PASSWORD‘:‘xxx‘,‘HOST‘: ‘127.0.0.1‘‘PORT‘:‘3306‘,}}
TEMPLATE_DIRS = (os.path.join(BASE_DIR,‘templates‘),)
STATICFILES_DIRS = (os.path.join(BASE_DIR,‘static‘),)
LANGUAGE_CODE = ‘zh-hans‘TIME_ZONE = ‘Asia/Shanghai‘USE_I18N = TrueUSE_L10N = TrueUSE_TZ = False
标签:run 配置 dir div 写入 man project pass 详解
原文地址:http://www.cnblogs.com/PythonHomePage/p/7634376.html