Forums

Django Model (MySQL database) Suddenly Gone

I am using the Django platform and I have a program that loads a MySQL database. This has been working continuously for about 3 years and suddenly it stopped yesterday. I get this error.

"beach.models.DoesNotExist"

Which means it cant find my MySQL database. I apologize if there is some notice on this matter that I missed.

Thank you!

that's certainly weird. if you just manually do a query, do you see any data in your beach models?

My bad, and feeling stupid---forgot to start my script in the virtual environment!

No problem -- glad you worked it out!