#29138: Add ModelAdmin.autocomplete_fields support for ForeignKeys that use
to_field
-------------------------------+------------------------------------------
     Reporter:  Jonathan Nye   |                    Owner:  Tyler Schwartz
         Type:  Bug            |                   Status:  assigned
    Component:  contrib.admin  |                  Version:  2.0
     Severity:  Normal         |               Resolution:
     Keywords:  autocomplete   |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  1
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+------------------------------------------

Comment (by Manel Clos):

 We have been using this in Django 2.1.5. As the to_field contains a code,
 it is a valid integer, and no error is produced. This issue should be
 marked as DATA LOSS and be urgently addressed.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29138#comment:23>
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/064.7ec6bad90a23f4d66a5343e0b77631b6%40djangoproject.com.

Reply via email to