Modify

Ticket #777 (new defect)

Opened 3 years ago

Last modified 2 years ago

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'
}

Attachments

View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.