#7184: inspectdb outputs primary key
-------------------------------------+-------------------------------------
     Reporter:  mbeattie             |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Core (Management     |                  Version:  master
  commands)                          |               Resolution:  fixed
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:  inspectdb primary    |      Needs documentation:  0
  key                                |  Patch needs improvement:  1
    Has patch:  1                    |                    UI/UX:  0
  Needs tests:  1                    |
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by claudep):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 As far as I understand the problem, inspectdb should now detect a
 "standard" primary key (`id = model.AutoField(primary_key=True)`) and not
 ouptut it in that case.

 If I missed an issue, feel free to reopen and provide a more concrete
 example.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/7184#comment:10>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to