Opened 19 months ago

Last modified 19 months ago

#34422 closed Bug

inspectdb mysql databases — at Initial Version

Reported by: brun806 Owned by: nobody
Component: Core (Management commands) Version: 4.1
Severity: Normal Keywords: inspectdb, mysql, models
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

i think there is some bug in inspectdb command. now when i manually use in terminal
python manage.py inspectdb > models.py
it generates ONLY models where name starts with “Auth” and “Django”.
when i use
python manage.py inspectdb --database=“data” > models.py
it creates models ONLY for that database.
but previously it generated models for both database and models that are part of Django’s built-in authentication and content types framework in a single models.py.
could anybody please explain what is happening and how do i fix it?

Change History (0)

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