Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove duplicate entries in autocomplete (#356)
When "autocomplete_search_fields" contains a ManyToMany related field, the resulting queryset has duplicates. Adding a distinct() removes them.
- Loading branch information