Commits

Author Commit Message Labels Comments Date
Thomas Johansson
Added equal_to validator.
Thomas Johansson
Small fix to email validator regexp.
Thomas Johansson
Normalize all validators: They now all follow the factory pattern and take the error message as first argument. Also added is_checked validator, and updated unittests accordingly.
Thomas Johansson
Bit too fast with the pasting there
Thomas Johansson
Add first basic unittests using py.test
Thomas Johansson
Improve URL validator
James Crasta
Created `form_for_model` function for making a form from Django models.
James Crasta
Fix for _unbound_fields in subclassed forms being correct
James Crasta
Minor fix which makes ordered form fields not break inheritance
James Crasta
Added missing module docstrings, updated copyright year on all others to 2008.
James Crasta
Form._fields is now a sequence of (name, value) tuples.
James Crasta
Implement iterating fields in order. Fixes #7.
James Crasta
Added FileField to allow rendering file-input boxes.
James Crasta
dded contrib package for django support. This package includes a templatetag which makes wtforms integration with django templates cleaner.
James Crasta
Make validation work without error on python 2.4/2.5. Also make ValueError allowed as a validation error.
James Crasta
Compatibility fix for python 2.3/2.4 to allow partially initialized formfields to be instantiated in the form without error.
Thomas Johansson
Fix value bug in BooleanField.process_data; Looks like we were a bit too fast with the 2.4 support there. Thanks to hads for reporting the bug.
Thomas Johansson
diaf tabs
Thomas Johansson
Bit too fast there, only yielding values. Also fix whitespace, stupid tabs. Really fixes #6 this time.
Thomas Johansson
Make form iterable, yielding the fields, based on suggestion from benoitc. Fixes #6.
Thomas Johansson
Add HiddenField, derived from TextField. Fixes #5
Thomas Johansson
Label return should always be unicode
James Crasta
Python 2.3/2.4 compatibility: changed a generator expression to be a list comprehension, and set up a functools.partial replacement. WTForms now works on python 2.3. Refs #2
Thomas Johansson
Label and validators are now completely optional.
Thomas Johansson
General processing cleanup:
Thomas Johansson
Add specific support for class_, class__ to html_params, to play nice with mako and genshi. These will strip the final underscore in the output, so class_ becomes class and class__ becomes class_.
Thomas Johansson
add artwork
Thomas Johansson
merged
James Crasta
Python 2.4-ization and general cleanup: refs #2
Thomas Johansson
jinja hacks be gone.
  1. Prev
  2. Next