Source

django-autocomplete / autocomplete / views.py

Author Commit Message Labels Comments Date
Germano Gabbianelli
Default autocomplete view renamed "autocomplete". Forcing explict imports.
Germano Gabbianelli
Two little bugs fixed in autocomplete/views.py.
Germano Gabbianelli
Implemented "login_required" for AutocompleteSettings.
Germano Gabbianelli
AutocompleteView now uses the correct JSON mimetype.
Germano Gabbianelli
AutocompleteSettings.id is now always a string.
Germano Gabbianelli
Fixed wrong imports and a little error in autocomplete/views.py.
Germano Gabbianelli
Removed the "not_found" method from AutocompleteSettings.
Germano Gabbianelli
Fixed little bug in AutocompleteView.register.
Germano Gabbianelli
Django Autocomplete rewritten from the ground up.
Tags
1.0a
Germano Gabbianelli
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".
Germano Gabbianelli
Added a request param to AutoCompleteView's not_found and forbidden methods.
Germano Gabbianelli
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.
Germano Gabbianelli
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.
Germano Gabbianelli
added AutoCompleteField, renamed AutoComplete to AutoCompleteWidget.
Germano Gabbianelli
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).
Germano Gabbianelli
initial files