[Django]-Why does Django no longer consider mysqldb a valid backend?

5👍

You apparently upgraded you Django installation as well. Recent Django versions need the full name of the backend module. The way you specify databases was changed in version 1.2 and you’ll need to follow the upgrade notes to update your Django project codebase.

For MySQL the correct backend is now django.db.backends.mysql; open settings.py and update your DATABASES entry.

Leave a comment