-
-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import errors when invoking flask db init #435
Comments
This error is unrelated, it is in the Flask-WTF package. My guess is that you need to upgrade it to work well with Flask and Werkzeug version 2. |
Hi Miguel, thanks for the reply, I'm on version 2.3.3 of WTForms and version 0.15.1 Flask-WTF package, which I understand is the latest version. Is there any version that's recommended for werkzeug version 2? |
You need to check your versions, something isn't right in what you are reporting. The line that is giving you the error is different in the current release of Flask-WTF (here). Try reinstalling Flask-WTF. |
Hi:
I'm currently writing a simple flask app and wanted to try the app with a sqlite database. After creating the models and all the boilerplate for the database, I run the command:
flask db init
which throws the following error:
I'm currently running:
Werkzeug version 2.0.1
Flask-Migrate version 3.1.0
Flask-SQLAlchemy version 2.5.1
Flask version 2.0.1
I'm not sure if there's any other dependency needed to run this. Thanks in advance for any pointers.
PS: Sorry for the horrible formatting, I'm not very knowledgeable with markdown.
The text was updated successfully, but these errors were encountered: