Package: pyams-form
ContentsWhat is PyAMS?What is PyAMS_form?Changelog2.0.22.0.12.0.01.8.11.8.01.7.41.7.31.7.21.7.11.7.01.6.51.6.41.6.31.6.21.6.11.6.01.5.01.4.31.4.21.4.11.4.01.3.11.3.01.2.11.2.01.1.01.0.41.0.31.0.21.0.11.0.0What is PyAMS?PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications
and content management with the Pyramid framework.PyAMSis actually mainly used to manage web sites through content management applications (CMS,
see PyAMS_content package), but many features are generic and can be used inside any kind of web
application.All PyAMS documentation is available onReadTheDocs; source code
is available onGitlaband pushed toGithub. Complete doctests are available in thedoctestsfolder.What is PyAMS_form?PyAMS_form is a fork ofz3c.formpackage;
it provides the same features to generate HTML forms based on schema interfaces, but adapted to
the Pyramid framework for use with Chameleon templates.It is also adding a few features, with custom form-related viewlets managers and AJAX forms.** Package API is also converted to common Python standards, using snake_case for variables and
methods.Changelog2.0.2added mising interfaces attributes2.0.1updated Buildout configuration2.0.0migrated to Pyramid 2.01.8.1small templates updates1.8.0added support for optionalfactoryargument when usingform_and_handlerdecoratoradded optionalnotifyargument to formextract_datamethod; you can set this argument
toFalsewhen you don’t want to generate extra events on a manual data extraction1.7.4reverted doctest1.7.3added support for Python 3.10 and 3.11updated doctests1.7.2cancelled doctest update1.7.1updated get_forms method to only get inner forms which are really implementing inner forms
interfaces; this can be useful to include inner viewlets which are not forms into a parent
form1.7.0added interfaces support for form content and form fields adaptersadded form update eventsadded support for Python 3.101.6.5cancelled doctest update1.6.4small updates in default AJAX form rendererreified form edit permission getter1.6.3changed test in AJAX add form to check changes againstNoneinstead of booleanfalsevalue to handle use case where created object is an empty container1.6.2updated doctests forzope.schemapackage >= 6.1.1, where boolean schema fields are
automatically set as required1.6.1updated doctests1.6.0added optionalajax_require_csrfargument toajax_form_configdecorator1.5.0updated sequence widget behaviour to be able to extract data from single
value using a separatorupdated default AJAX renderer to merge outputs of inner forms renderers1.4.3version mismatch1.4.2added missing “context” argument to permission checkadded missing widget factory for text lines list fieldremoved unused interface1.4.1Gitlab-CI pylint test update1.4.0removed support for Python < 3.7updated Bytes schema field to FileWidget data converter1.3.1updated Gitlab-CI configuration1.3.0look for actions in finished state to get AJAX renderersupdated Gitlab-CI configurationremoved Travis-CI configuration1.2.1interfaces description updatescode cleanup1.2.0added support for inner sub-forms and tab-forms in groups manager1.1.0small updates in forms APIuse form’s “finished_state” attribute to store executed action and changesautomatically use objects factories in add formsupdated “adapter_config” decorator arguments namesupdated access to Pyramid’s global registryupdated doctests1.0.4included edge case fix to handle missing values which are not None but that work as None
(merged from z3c.form)1.0.3updated doctests using ZCA hook1.0.2code refactoring to reduce duplications1.0.1updated doctests1.0.0initial release