FTR, another solution is to intercept creation of <option> tags with DOMNodeInserted. Requires no monkey patch and is compatible with django & django-grappelli out of the box: https://github.com/yourlabs/django-autocomplete-light/commit/1f1e715e20
Thanks again for your answer (which I credited in the related github issue). Rock'on -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-developers/-/0WE7Hx4YOXwJ. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.