Ticket #777 (new defect)
SOUTH_DATABASE_ADAPTERS ignored
| Reported by: | dave.trindall@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | The Future |
| Component: | databaseapi | Version: | 0.7.3 |
| Keywords: | SOUTH_DATABASE_ADAPTERS | Cc: | dave.kuhn@… |
Description
I have a Django application called Chorus. It uses a custom backend extended from the mysql backend in Django. The following addition to settings_local.py causes the following error:
SOUTH_DATABASE_ADAPTERS = {
'chorus.database.backends.mysql': 'south.db.mysql'
}
Error: "There is no South database module 'south.db.None' for your database. Please either choose a supported database, check for SOUTH_DATABASE_ADAPTER[s] settings, or remove South from INSTALLED_APPS."
My work around is to use the following addition to settings_local.py instead. It works OK for me, but if not mistaken it also means south won't support multiple django databases. Plus it would be nice if the requirements of using the 'default' key was documented somewhere.
SOUTH_DATABASE_ADAPTERS = {
'default':'south.db.mysql'
}
