Working Example

This commit is contained in:
Rich
2021-07-03 19:40:40 +01:00
parent d50fbde5de
commit c357c654a6
16 changed files with 416 additions and 23 deletions

7
tr.py
View File

@@ -1 +1,6 @@
from app import app
from app import app, db
from app.models import User
@app.shell_context_processor
def make_shell_context():
return {'db': db, 'User': User}