We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e145ae commit abe0842Copy full SHA for abe0842
project/server/__init__.py
@@ -75,4 +75,7 @@ def page_not_found(error):
75
def server_error_page(error):
76
return render_template('errors/500.html'), 500
77
78
+ # shell context for flask cli
79
+ app.shell_context_processor({'app': app, 'db': db})
80
+
81
return app
0 commit comments