Source

django-selectable / selectable / tests / fields.py

Author Commit Message Labels Comments Date
Mark Lavin
Better error handling for invalid PK submission when using AutoCompleteSelectField and AutoCompleteSelectMultipleField.
Michael Manfre
Fixed #15 - Allow passing a dotted string to `lookup_class`
Mark Lavin
Remove tests related to removed fields.
Mark Lavin
Tests demonstrating problem with passing widget instances rather than widget classes.
Branches
stable
Mark Lavin
Allow AutoCompleteSelectField and AutoCompleteSelectMultipleField to use the combobox widgets. Deprecate the combobox fields. See #55.
Mark Lavin
Field/widget hooks for result limiting.
Mark Lavin
Working on initial values and multi-selects.
Mark Lavin
Remove reference to old test form.
Karen Tracey
More complete fix includes also overriding render to ensure that decompress is called even when caller specifies initial values as a list (superclass render won't call decompress if value is already a list, but we need decompress to be called since it inserts None as the value for the auto widget). Also fix the other auto/multi widget. Move tests into widgets since that's really where the problem was and make them more consistent with existing pattern.
Karen Tracey
Check for iterable, not list, in AutoCompleteSelectMultipleWidget.
Mark Lavin
Field testing.
Mark Lavin
Initial project layout.