openwisp / openwisp-utils

Python and Django utilities shared between different openwisp modules
https://openwisp.io/docs/dev/utils/
BSD 3-Clause "New" or "Revised" License
74 stars 72 forks source link

[fix/feature] Fix autocomplete filter #322

Closed pandafy closed 1 year ago

pandafy commented 2 years ago

[fix] Fixed "None" option of AutocompleteFilter

AutocompleteFilter shows "None" option only if the field is nullable.


[feature] Added setting to make AutocompleteFilter view configurable

Added "OPENWISP_AUTOCOMPLETE_FILTER_VIEW" project setting to allow configuring the view.


Required by

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 98.656% when pulling 445b18a6049020137602536b47ddcfedd3fe6433 on fix-autocomplete-filter into fcbbf9a079f80438d55850c0fc7831c0e7c251d8 on master.