摘要:
1、nginx文件的配置 路径:/etc/nginx/conf.d/ example.conf 启动:service nginx [start]/[restart]/[stop] 2、uwsgi文件的配置 在项目的根目录下面,与manage.py同目录 example_uwsgi.ini 启动:uw 阅读全文
摘要:
以下用一个网站 ocean_monitor 举例 MySQL 安装与配置 安装 MariaDB is shipped in the CentOS repo as of CentOS 7 instead of mysql.if you still want to install mysql you n 阅读全文
摘要:
setting.py文件中 其中 zh-Hans是简体中文 zh-Hant是繁体中文 所以更改setttings.py 下 LANGUAGE_CODE = 'zh-Hans'即可 # 英文 LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' USE_I18N = True USE_L10N = True USE_TZ = True ... 阅读全文