typeError SQLAlchemy
tindn98 opened this issue · comments
tindn98 commented
File "c:\Users\tindn\Desktop\Flask web app\main.py", line 3, in
app = create_app()
File "c:\Users\tindn\Desktop\Flask web app\website_init_.py", line 24, in create_app
create_database(app)
File "c:\Users\tindn\Desktop\Flask web app\website_init_.py", line 39, in create_database
db.create_all(app=app)
TypeError: SQLAlchemy.create_all() got an unexpected keyword argument 'app'
I have been getting this error, this is something related to the data base, Please help me with this, Its the exact code Im trying to run.
Ammar Ibrahim commented
Check here Solutions