We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2991e76 commit 8c77dbdCopy full SHA for 8c77dbd
1 file changed
manage.py
@@ -25,6 +25,10 @@
25
)
26
COV.start()
27
28
+@app.shell_context_processor
29
+def make_shell_context():
30
+ return dict(app=app, db=db)
31
+
32
@cli.command()
33
def create_db():
34
db.drop_all()
0 commit comments