Opened 17 years ago

Closed 16 years ago

#3116 closed enhancement (wontfix)

[multi-db] inspectdb should inspect OTHER_DATABASES

Reported by: carole.zieler@… Owned by: nobody
Component: django-admin.py inspectdb Version:
Severity: normal Keywords:
Cc: Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Currently to analyze all of my legacy databases, I have to modify the main database in settings.py to one database at a time ( python manage.py inspectdb > somefile.py ) ... then copy that somefile.py file to the correct directory that corresponds to the MODEL entry for that database under OTHER_DATABASES.

For this branch, it seems to me that the behavior for inspectdb should be as follows:

  1. Inspects main database and outputs code to models.py
  2. For each item in OTHER_DATABASES, inspect that table, and create a models.py file in the directory that corresponds to the MODEL entry for that database.

Change History (2)

comment:1 by Simon G. <dev@…>, 17 years ago

Triage Stage: UnreviewedDesign decision needed

comment:2 by Malcolm Tredinnick, 16 years ago

Resolution: wontfix
Status: newclosed

At the moment multi-db isn't under active development, so closing this as wontfix. If/when somebody works on it again, they can pull these tickets out again.

Note: See TracTickets for help on using tickets.
Back to Top