django-autocomplete-light
django-autocomplete-light copied to clipboard
use get_display_label() as id for new choices in BaseQuerySetView.post()
trafficstars
When a user adds a new value to choices as described at "Creation of new choices in the autocomplete form" the returned "id" is always result.pk
BaseQuerySetView.post() should set the id to self.get_result_value(result) for the case where the view is returning a different id.
Agreed, do you want to make a pull request?