Changes between Initial Version and Version 7 of Ticket #16136


Ignore:
Timestamp:
Jun 2, 2011, 4:40:00 AM (13 years ago)
Author:
Aymeric Augustin
Comment:

When importing django.db.backends.mysql.base:

  • django/db/__init__.py executes successfully
  • django/db/__init__.py:
    • imports ConnectionHandler from django.db.utils
      • at this point the utils module from django.db is imported and working.
    • runs connections = ConnectionHandler(settings.DATABASES)
    • reaches connection = connections[DEFAULT_DB_ALIAS] which appears in the traceback above.
  • at the bottom the traceback, django/db/backends/mysql/base.py fails to import utils from django.db.

This is just weird.

Did you try to contact your hosting provider's technical support? Since it's a shared host, I guess you're using a version of Django installed by them at the system level. You must not be the only one trying to use Django with MySQL.

Legend:

Unmodified
Added
Removed
Modified
Back to Top