Oct-01-2020, 07:07 PM
I'm working from a basic skeleton code to build up this app but i have been facing issues just trying to initially run the app. after installing flask and flask-sqlalchemy when i type python3 app.py, the app starts with this
"Serving Flask app "app" (lazy loading)
Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
Debug mode: on
Restarting with stat
Debugger is active!
Debugger PIN: 147-926-310
Running on http://127.0.0.1:3000/ (Press CTRL+C to quit)" then when clicking the link i run into this issue:"
but when i click on the link the build gets a error:
"werkzeug.routing.BuildError: Could not build url for endpoint 'contacts'. Did you mean 'static' instead?"
i also noticed im not getting flask-SQLAlchemy loaded even though i have installed it using pip3 install -U Flask-SQLAlchemy
and it was successful.
"Serving Flask app "app" (lazy loading)
Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
Debug mode: on
Restarting with stat
Debugger is active!
Debugger PIN: 147-926-310
Running on http://127.0.0.1:3000/ (Press CTRL+C to quit)" then when clicking the link i run into this issue:"
but when i click on the link the build gets a error:
"werkzeug.routing.BuildError: Could not build url for endpoint 'contacts'. Did you mean 'static' instead?"
i also noticed im not getting flask-SQLAlchemy loaded even though i have installed it using pip3 install -U Flask-SQLAlchemy
and it was successful.