#29010: Allow customizing the autocomplete search results based on the querying model -------------------------------------+------------------------------------- Reporter: Muslu Y. | Owner: Johannes | Maron Type: Bug | Status: closed Component: contrib.admin | Version: 2.0 Severity: Normal | Resolution: fixed Keywords: ForeignKey, | Triage Stage: Ready for get_search_results, search_fields | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by GitHub <noreply@…>):
* status: assigned => closed * resolution: => fixed Comment: In [changeset:"3071660acfbdf4b5c59457c8e9dc345d5e8894c5" 3071660a]: {{{ #!CommitTicketReference repository="" revision="3071660acfbdf4b5c59457c8e9dc345d5e8894c5" Fixed #29010, Fixed #29138 -- Added limit_choices_to and to_field support to autocomplete fields. * Fixed #29010 -- Added limit_choices_to support to autocomplete fields. * Fixed #29138 -- Allowed autocomplete fields to target a custom to_field rather than the PK. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29010#comment:33> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/071.c079f42c75cc2f7113093c537da17cc2%40djangoproject.com.