Commits

Author Commit Message Labels Comments Date
Germano Gabbianelli
Improved docs/installation.rst.
Germano Gabbianelli
Documentation fix: views.AutoComplete was erroneously called AutoCompleteView.
Patrick Guido Arminio
fixed "s.toLowerCase is not a function" when using jquery version of the autocomplete javascript code.
Germano Gabbianelli
Added documentation made with sphinx.
Germano Gabbianelli
fixed #3 var_name error when using formsets.
Germano Gabbianelli
Removed the choices argument from AutoCompleteWidget.render.
Germano Gabbianelli
Added a request param to AutoCompleteView's not_found and forbidden methods.
Germano Gabbianelli
Now you can use a custom view on ModelChoiceField and AutoCompleteWidget. It should be a subclass of autocomplete.views.AutoComplete.
Germano Gabbianelli
The autocomplete js function is now an object and can be customized (YUI). See http://developer.yahoo.com/yui/autocomplete/ to learn how to customize it. I've tested my changes only with Firefox and Chromium hoping they work with IE too.
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
Fixed little rendering bug when reverse_label is False
Germano Gabbianelli
Added a setup.py
Germano Gabbianelli
Added LICENSE
Germano Gabbianelli
Added jquery_autocomplete.js (thanks Patrick Guido Armino), not yet tested.
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 tag v0.1 for changeset e8e493a19b24
Germano Gabbianelli
AutocompleteWidget supports now initial value; autocomplete.js adds automatically the "yui-skin-sam" class to document.body.
Tags
v0.1
Germano Gabbianelli
added .hgignore (forgot to add fields.py in last commit)
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
  1. Prev
  2. Next