make mongo uri universal across flask apps
This commit is contained in:
parent
605c25b8b0
commit
3c9618f0b4
3 changed files with 9 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ from flask import Flask, render_template_string
|
|||
from werkzeug.middleware.dispatcher import DispatcherMiddleware
|
||||
from werkzeug.serving import run_simple
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).parent))
|
||||
|
||||
CATEGORIES = ["personal", "home", "work"]
|
||||
|
||||
root = Flask(__name__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue