1. Luke Plant
  2. django-autocomplete

Source

django-autocomplete / autocomplete / views.py

Author Commit Message Date Builds
Luke Plant
Added easy mechanism for fine grained access control to autocomplete data.
Luke Plant
Pulled out authentication checking in Autocomplete into separate method. This allows it to be overridden by a subclass easily.
tyrion
Using "q" as the default query GET param. Should be easier switching to jQuery. It seems jQuery Autocomplete can't be customized to use "query" instead of "q".
tyrion
Added a request param to AutoCompleteView's not_found and forbidden methods.
tyrion
reverse_label should not fail when the key does not exist. Now returns the key instead of raising an error, when the key is not a valid choice.
tyrion-mx
Added full support for initial values (thanks Paul Dexter). autocomplete.AutoCompleteField is now autocomplete.ModelChoiceField and is a subclass of django.forms.ModelChoiceField. Improved the ac_example app.
tyrion-mx
added AutoCompleteField, renamed AutoComplete to AutoCompleteWidget.
tyrion-mx
little improvements * AutoComplete.register instead of ac. * Added support for force_selection. * AutoComplete is now a subclass of widgets.Widget, and I am using an hidden input instead of an hidden select, so I will be able to skip the ModelChoiceField query to get all the initial choices (it may be a big query).
tyrion-mx
initial files