Modify ↓
Ticket #379 (closed defect: invalid)
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
Note: See
TracTickets for help on using
tickets.

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.