[Django] #30970: Waiting for enhancement in "inspectdb" command

4 views
Skip to first unread message

Django

unread,
Nov 10, 2019, 1:46:36 AM11/10/19
to django-...@googlegroups.com
#30970: Waiting for enhancement in "inspectdb" command
-------------------------------------+-------------------------------------
Reporter: John | Owner: nobody
Kassaki |
Type: | Status: new
Cleanup/optimization |
Component: Database | Version:
layer (models, ORM) |
Severity: Normal | Keywords: inspectdb
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Here is the screen-shot of one of my table's
schema:[[Image(https://ibb.co/K7PXtQ8)]]
I think many info wasn't extracted when generating Models by using
"inspectdb" CLI, especially default value and comment(can be generated as
"help text"). I hope this can be added in the next version.
By the way, if unique keys can be read from tables, that will be awesome.

--
Ticket URL: <https://code.djangoproject.com/ticket/30970>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 10, 2019, 1:47:28 AM11/10/19
to django-...@googlegroups.com
#30970: Waiting for enhancement in "inspectdb" command
-------------------------------------+-------------------------------------
Reporter: John Kassaki | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version:
(models, ORM) |
Severity: Normal | Resolution:
Keywords: inspectdb | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by John Kassaki):

* Attachment "sp20191110_141841_756.png" added.

Screenshot of table

Django

unread,
Nov 11, 2019, 2:12:42 AM11/11/19
to django-...@googlegroups.com
#30970: Waiting for enhancement in "inspectdb" command.

-------------------------------------+-------------------------------------
Reporter: John Kassaki | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: duplicate

Keywords: inspectdb | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* status: new => closed
* version: => master
* resolution: => duplicate


Comment:

Django doesn't support comments on tables and columns (#18468) and
database defaults (#470), hence I'm closing this as a duplicate of these
two tickets.

--
Ticket URL: <https://code.djangoproject.com/ticket/30970#comment:1>

Reply all
Reply to author
Forward
0 new messages