#34422: inspectdb mysql databases
-------------------------------------+-------------------------------------
Reporter: brun806 | Owner: nobody
Type: Bug | Status: new
Component: | Version: 4.1
Uncategorized | Keywords: inspectdb, mysql,
Severity: Normal | models
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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?
--
Ticket URL: <https://code.djangoproject.com/ticket/34422>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070186f42ec74e-82513716-db79-4199-90b2-0078f2817033-000000%40eu-central-1.amazonses.com.