摘要: 1、setting.py (1) ALLOWED_HOSTS = ['*'] (2) INSTALLED_APPS = ['app_name'] (3) TEMPLATES 中的 'DIRS': [os.path.join(BASE_DIR, 'templates')] (4) 数据库 (5)语言切 阅读全文
posted @ 2017-11-12 09:07 kingrain 阅读(189) 评论(0) 推荐(0) 编辑