Commit cfb8c04d authored by Petrus J.v.Rensburg's avatar Petrus J.v.Rensburg

Enable debug.

parent f20fa3d9
...@@ -22,7 +22,7 @@ class AnotherAdminView(admin.BaseView): ...@@ -22,7 +22,7 @@ class AnotherAdminView(admin.BaseView):
# Create flask app # Create flask app
app = Flask(__name__, template_folder='templates') app = Flask(__name__, template_folder='templates')
app.debug = True
# Flask views # Flask views
@app.route('/') @app.route('/')
...@@ -38,4 +38,4 @@ admin.init_app(app) ...@@ -38,4 +38,4 @@ admin.init_app(app)
if __name__ == '__main__': if __name__ == '__main__':
# Start app # Start app
app.run(debug=True) app.run()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment