Ticket #379 (closed defect: invalid)

Opened 5 years ago

Last modified 5 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

Change History

comment:1 Changed 5 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.

Note: See TracTickets for help on using tickets.