37 thoughts on “Python Web site Full Tutorial – Flask, Authentication, Databases & Extra”

  1. love your videos! question. I already have a database with all this sports data, which my code analyzes it and provides information. how do I get it to connect to a database that already exists? Instead of creating users like you are. I saw your video on putting the SQL database on a server, can I do it that way and just connect to it? or do i have to now go through all of my code and change all the queries?

    Reply
  2. dude i am stuck bad at the data base section and i don't understand why.. tried copying the given code in the description but that didn't help me either i rewrote that code as well like three times need real help ;(

    Reply
  3. Hi Mr.Tim, I am halfway in the video, and I must say that I absolutely love it. I would appreciate if you could give more guidance on how to make this flask app ready for production deployment.

    Reply
  4. 54:21 I do not get method not allowed and the alerts dont work. I triple checked all my code
    UPDATE i noticed i wasnt getting post requests and the problem was in signup.html i put form.methods="POST" with an s! keep debugging

    Reply
  5. Really helpful Tim! The only part I would like you to update about is that the 'db.create_all(app=app)' method is obsolete in the latest version of flask-sqlalchemy. Instead we now need to us a 'with app.app_context():' to use 'db.create_all()'. Also in my PC, the new database is created in a new folder called 'instance' by default using the same code as yours. It would be great if you could explain why that happens.

    Reply
  6. So this is one of the best videos you can ever find web development with python. I really love the way you you explain step by step, so detailed but I have a problem in the __init__.py file, under the db.create_all(app=app), anytime I try to run the file it shows that it got an unexpected keyword argument ‘app’.
    Please I need your help.

    Reply

Leave a Comment