modify config to varbles

This commit is contained in:
DanielChien 2017-01-04 23:30:29 +08:00
parent b67482de9b
commit 1942644434

View File

@ -14,9 +14,11 @@ from sanic.response import json
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
DB_CONFIG = {
'host': 'localhost',
'user': 'tachien',
'database': 'tachien'
'host': '<host>',
'user': '<username>',
'password': '<password>',
'port': '<port>',
'database': '<database>'
}
def jsonify(records):