Modify

Ticket #379 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

DB module not detected with Django settings in multi-db format

Reported by: Jirka.Vejrazka@… Owned by: andrew
Priority: major Milestone: 0.7
Component: databaseapi Version: 0.6.2
Keywords: multi-db, database Cc:

Description

Once settings.py is converted to multi-db format for database settings, South starts failing with "ValueError?: Empty module name". in db/init.py

Poor man's fix is modifying the affected line to:

module_name = '.'.join(['south.db', settings.DATABASES['default']['ENGINE'].split('.')[-1]])

Probably not the best solution, but works for me :)

Cheers

Jirka

Attachments

Change History

comment:1 Changed 4 years ago by andrew

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone set to 0.7

0.6.2 is not compatable with Django 1.2; 0.7, the current development version, is. Closing this, as 0.6.2 will never support 1.2.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.