From 277113e75c76b4cfdb7d7331e479cc98b26eaf21 Mon Sep 17 00:00:00 2001 From: jianbo <263303411@qq.com> Date: Tue, 13 Aug 2019 11:05:09 +0800 Subject: [PATCH] =?UTF-8?q?python=E5=AD=A6=E4=B9=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/workspace.xml | 180 +++++++++++++++-------------------- config/production_setting.py | 13 ++- 2 files changed, 91 insertions(+), 102 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 9c29248..e1982ae 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,51 +2,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/config/production_setting.py b/config/production_setting.py index 7c68785..58e4856 100644 --- a/config/production_setting.py +++ b/config/production_setting.py @@ -1 +1,12 @@ -# -*- coding: utf-8 -*- \ No newline at end of file +# -*- coding: utf-8 -*- +DEBUG = True +SQLALCHEMY_ECHO = True +SQLALCHEMY_DATABASE_URI = 'mysql://username:password@127.0.0.1/food_db?charset=utf8mb4' +SQLALCHEMY_TRACK_MODIFICATIONS = False +SQLALCHEMY_ENCODING = "utf8mb4" + +APP = { + 'domain':'106.52.204.179' +} + +RELEASE_VERSION="20180729001" \ No newline at end of file