#30388: inspectdb generates unique ForeignKey instead of OneToOneField.
-------------------------------------+-------------------------------------
     Reporter:  Ville Skyttä         |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by felixxm):

 * version:  2.2 => master
 * stage:  Unreviewed => Accepted


Old description:

> inspectdb generates code that results in W342 warnings. Will attach a
> fix.
>
> No release note yet, will add one once I get information which branch
> this will be applied to.

New description:

 inspectdb generates unique `ForeignKey` instead of `OneToOneField` that
 caused raising `fields.W342` warnings.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30388#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.620d300eaf0dd3c095f5ae56a67a8fc7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to