#29010: Allow customizing the autocomplete search results based on the querying model -------------------------------------+------------------------------------- Reporter: Muslu Y. | Owner: Johannes | Hoppe Type: Bug | Status: assigned Component: contrib.admin | Version: 2.0 Severity: Normal | Resolution: Keywords: ForeignKey, | Triage Stage: Accepted get_search_results, search_fields | Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Andy Grabow): I have tested that feature branch - works like a charm! To me the added tests also look good, there is just one thin missing: admin_views/models.py:646 There is a prepared field for ManyToMany (related_answers) tests, but the matching test case is missing. With that test case checked in, this feature could finally go live. :) -- Ticket URL: <https://code.djangoproject.com/ticket/29010#comment:22> 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.228f930b67985f9383e17f774e4ce6da%40djangoproject.com.