Commits

Author Commit Message Labels Comments Date
Gael Pasgrimaud
use @property
Gael Pasgrimaud
s/_value/value/; more tests
Gael Pasgrimaud
merge
Gael Pasgrimaud
small fixes
Gael Pasgrimaud
required by api
Gael Pasgrimaud
sometimes value is None
Gael Pasgrimaud
raw_value return the real objects
Gael Pasgrimaud
update to Pylons 1.0rc1
Gael Pasgrimaud
update bootstrap
Gael Pasgrimaud
controller improvements
Gael Pasgrimaud
use real renderers names in json api
Gael Pasgrimaud
Added tag 1.3.3 for changeset 2bab9848c476
Gael Pasgrimaud
prepare 1.3.3
Tags
1.3.3
Gael Pasgrimaud
options can be a callable
Gael Pasgrimaud
allow to deal with non SA classes
Gael Pasgrimaud
s/original_cls/_original_cls/
Gael Pasgrimaud
add change entry
Gael Pasgrimaud
close branch
Branches
tests_refactoring
Gael Pasgrimaud
merge
Gael Pasgrimaud
merge
Gael Pasgrimaud
Backed out changeset cfea030658e6
Gael Pasgrimaud
Backed out changeset d779de5739c7
Gael Pasgrimaud
merge 780 of abourget
Gael Pasgrimaud
merge 774 of abourget
Alexandre Bourget
Deserialization cache: don't add overhead for all Fields, only modify Field if decorator is used.
Alexandre Bourget
Implement an optional tiny deserialization cache. Documented. Tests pass, though no new tests were added to make sure this doesn't break in the future. The reason to implement this is that the deserialize() function gets called twice in a normal controller. Once with validate() and a second time with sync(). For custom Renderers that have complex deserialization (fetching to a database, creating temporary objects, appending to a DB relation), you don't wa…
Alexandre Bourget
Renamed ._params to .params everywhere. Lots of documentation fixes. Added `.errors`. - `.errors` point to the FieldSet's errors. This can be used to indicate we're re-displaying a form which has errors in it. - `.params` should be useable by extended classes - deprecation warning
Alexandre Bourget
#84 Make sure we can call .configure() multiple times, with consistent and predictable results. Before this patch, the outcome of calling configure() twice was unpredictable, thus no old code should be broken. Removed some documentation to ModelRenderer for params it didn't have. NOTE: there is duplication with documentation in docs/forms.txt from ModelRenderer. It is now possible to call a fs.configure(options=[fs.field1.required()]) and it will simply replace the `field1` in the _render_…
Alexandre Bourget
Revenu sur les changements : b980b3a13a81
Alexandre Bourget
Implemented the __repr__or a fieldset. Tests included. Will output: >>> fs = FieldSet(Two) >>> fs <FieldSet with ['id', 'foo']> >>> fs.configure(pk=True) >>> fs <FieldSet (configured) with ['id', 'foo']>
  1. Prev
  2. Next