Gabrango

Results 7 comments of Gabrango

Send the entire views.py so that the entire code is visible. However, here is my delete note if you want to copy paste it: ``` @views.route('/delete-note', methods=['POST']) def delete_note(): note...

Thanks a lot, I copied and pasted the js of the base.html of the tutorial and it worked, even though mine is exactly the same (i checked several times because...

Yo, to fix it I just copied and pasted every json part in the code replacing the one I had done (even when there was no actual difference)

Guys, I changed the: ``` def create_database(app): if not path.exists('website/' + DB_NAME): db.create_all(app=app) print("Created Database!") ``` for the: ``` def create_database(app): if not path.exists('website/' + DB_NAME): with app.app_context(): db.create_all() print('Created...

Thanks a lot!!!!! I actually had the `app.config['SQLALCHEMY_DATABASE_URI'] = f'sqlite:///{DB_NAME}'`, but reading your comment I realized that I did not have the `db.init_app(app)` Thank you bro

I will also steal your annotations, it looks like a very helpful way to do the tutorial!

Bro I'm having the same error and I need help :(((