[Django]-Django Autocomplete Light limiting query results

5👍

✅

You should to use limit_choices as is described in documentation.

4👍

By default AutocompleteModelBase has the attribute named limit_choices which by default is set tot 20. You can overwrite it with a new value to expand it. Although not documented, if you want no limit pass -1 as the attribute is only to slice the results

Leave a comment