Can someone please help me. Everything has worked fine up until the point at 7:17 where he runs the “db.create_all()”.
When i run it, i get a “runtimeError: working outside application context”. I know how to fix this, but i don’t understand why i get the error and he doesn’t. can some one please explain?
https://www.codecademy.com/courses/learn-flask/videos/flask-database-setup