#30409: E012 is raised when ForeignKey is used by "_id" in an Index.
--------------------------------------+------------------------------------
     Reporter:  James Cheese          |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Core (System checks)  |                  Version:  2.2
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Simon Charette):

 * type:  Bug => Cleanup/optimization
 * stage:  Unreviewed => Accepted


Comment:

 I think we should adjust the checks to allow both `.name` and `.attname`
 forms since the rest of the ORM allows both.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30409#comment:3>
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/064.96061b4b5316e113699a74a9714e29b6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to