From bd519043a3633dace5d7000c4399779914aeb324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E4=BA=8C=E7=8C=9B?= Date: Fri, 9 Mar 2018 10:34:05 +0800 Subject: [PATCH] =?UTF-8?q?U=20=E9=85=8D=E7=BD=AE=20=E6=9B=B4=E6=96=B0conf?= =?UTF-8?q?ig.py.example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_api/config.py.example | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spug_api/config.py.example b/spug_api/config.py.example index a843291..25b516f 100644 --- a/spug_api/config.py.example +++ b/spug_api/config.py.example @@ -4,9 +4,9 @@ import os DEBUG = True TIME_ZONE = timezone('Asia/Shanghai') BASE_DIR = os.path.dirname(os.path.abspath(__file__)) -DOCKER_URL = 'unix:///var/run/docker.sock' -SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:redhat@127.0.0.1/doms' -# SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(BASE_DIR, 'test.db') +#SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:redhat@127.0.0.1/doms' +SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(BASE_DIR, 'test.db') +SQLALCHEMY_TRACK_MODIFICATIONS = False SQLALCHEMY_ECHO = False DOCKER_REGISTRY_SERVER = 'localhost:5000'