change db to get_default_database

This commit is contained in:
songmeo
2021-03-31 10:23:48 +03:00
parent 33f3e6171c
commit 35cc25848c
2 changed files with 6 additions and 1 deletions

2
const.py Normal file
View File

@@ -0,0 +1,2 @@
import os
MONGO_URI = os.getenv("MONGO_URI", "mongodb://127.0.0.1:27017/kspace_accounting")