Source

wheezy.validation / src / wheezy / validation / model.py

Author Commit Message Labels Comments Date
Andriy Kornatskyy
Fixed PEP8 warnings.
Andriy Kornatskyy
Added support for None return type from value provider.
Andriy Kornatskyy
Convert original_value to unicode before using gettext for errors.
Andriy Kornatskyy
Fixed #1: try_update_model implicitly adds defaults if values is defaultdict
Andriy Kornatskyy
Fixed compatibility issue with python3.2
Andriy Kornatskyy
Fixed compatibility issue with python3.2
Andriy Kornatskyy
Added support for class level members update
Andriy Kornatskyy
Added ability to update model with list like attribute (binding several values to a single attribute)
Andriy Kornatskyy
Improved error message in case of ValueError on empty input
Andriy Kornatskyy
If value is missed in input, assume it is empty
Andriy Kornatskyy
Empty string is translated to date.min
Andriy Kornatskyy
Added support for date, time and datetime in try_update_model
Andriy Kornatskyy
Working on documentation
Andriy Kornatskyy
While updating or validating model it can be a dict
Andriy Kornatskyy
try_update_model values can be a dict of lists or strings
Andriy Kornatskyy
Fixed compatibility issue with python 3.2 to unified int type and gettext
Andriy Kornatskyy
Fixed compatibility issue with python 2.4 and 2.5 due to different representation with higher python versions
Andriy Kornatskyy
Added support for unicode model attribute
Andriy Kornatskyy
Added translations to try_update_model.
Andriy Kornatskyy
Added doctest for valid input for try_update_model and with errors.
Andriy Kornatskyy
Initial version for try_update_model.