Twitter Clone Error
Hi, I am getting this error when I run my project.py file: sqlite3.OperationalError: no such table: users.
I have the exact same code that we wrote in class, but the error started happening on Thursday. It just goes to an internal server error when I try to click the login page on my website. I am wondering, is the twitter_clone.db file supposed to have any content in it? If not, where would the users table live?
Let me know what you think! Thanks!
Yes, twitter_clone.db is supposed to have content. It must be created using the create_db.py file from the practice_quiz folder.
If you would like a reference, I believe there is an example of creating the database and resolving this error in the lecture recordings from both Thursday and Tuesday this week.