EditionPN/main.py

6 lines
126 B
Python
Raw Normal View History

2021-05-06 10:26:28 +02:00
from app import app, db
2021-06-09 20:17:37 +02:00
from app.models import *
2021-05-06 10:26:28 +02:00
@app.shell_context_processor
def make_shell_context():
2021-06-09 20:17:37 +02:00
return {"db": db}