# HG changeset patch # User Thierry Florac # Date 1575454169 -3600 # Node ID 0e48f5a82d32b7b1624995de4f17b677c3c45231 # Parent 975adcb821130bcbb5073cd8ef56209a3a65b178 Version 0.1.27 diff -r 975adcb82113 -r 0e48f5a82d32 .installed.cfg --- a/.installed.cfg Wed Dec 04 11:05:52 2019 +0100 +++ b/.installed.cfg Wed Dec 04 11:09:29 2019 +0100 @@ -1,89 +1,3 @@ -[buildout] -installed_develop_eggs = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-template.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-form.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-pagelet.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-catalog.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-viewlet.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-utils.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-file.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-skin.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-i18n.egg-link -parts = package i18n pyflakes test - -[package] -__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pdistreport - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/prequest - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pserve - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pshell - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pviews - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/proutes - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pcreate - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/ptweens -__buildout_signature__ = zc.recipe.egg-d182d4ea1a3d8806e1a5ef1fd59b97c1 zc.buildout-d182d4ea1a3d8806e1a5ef1fd59b97c1 setuptools-d182d4ea1a3d8806e1a5ef1fd59b97c1 -_b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin -_d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs -_e = /var/local/env/pyams/eggs -bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin -develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs -eggs = pyams_form - pyams_skin - pyramid - z3c.form - zope.component - zope.interface -eggs-directory = /var/local/env/pyams/eggs -find-links = http://download.ztfy.org/pyams -recipe = zc.recipe.egg - -[i18n] -__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pybabel - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pot-create - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/polint -__buildout_signature__ = zc.recipe.egg-d182d4ea1a3d8806e1a5ef1fd59b97c1 zc.buildout-d182d4ea1a3d8806e1a5ef1fd59b97c1 setuptools-d182d4ea1a3d8806e1a5ef1fd59b97c1 -_b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin -_d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs -_e = /var/local/env/pyams/eggs -bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin -develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs -eggs = babel - lingua -eggs-directory = /var/local/env/pyams/eggs -find-links = http://download.ztfy.org/pyams -recipe = zc.recipe.egg - -[pyflakes] -__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pyflakes - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pyflakes -__buildout_signature__ = zc.recipe.egg-d182d4ea1a3d8806e1a5ef1fd59b97c1 zc.buildout-d182d4ea1a3d8806e1a5ef1fd59b97c1 setuptools-d182d4ea1a3d8806e1a5ef1fd59b97c1 -_b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin -_d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs -_e = /var/local/env/pyams/eggs -bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin -develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs -eggs = pyflakes -eggs-directory = /var/local/env/pyams/eggs -entry-points = pyflakes=pyflakes.scripts.pyflakes:main -find-links = http://download.ztfy.org/pyams -initialization = if not sys.argv[1:]: sys.argv[1:] = ["src"] -recipe = zc.recipe.egg -scripts = pyflakes - -[test] -__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/parts/test - /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/test -__buildout_signature__ = six-d182d4ea1a3d8806e1a5ef1fd59b97c1 zc.recipe.testrunner-d182d4ea1a3d8806e1a5ef1fd59b97c1 zc.recipe.egg-d182d4ea1a3d8806e1a5ef1fd59b97c1 zc.buildout-d182d4ea1a3d8806e1a5ef1fd59b97c1 zope.exceptions-d182d4ea1a3d8806e1a5ef1fd59b97c1 zope.interface-d182d4ea1a3d8806e1a5ef1fd59b97c1 zope.testrunner-d182d4ea1a3d8806e1a5ef1fd59b97c1 setuptools-d182d4ea1a3d8806e1a5ef1fd59b97c1 -_b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin -_d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs -_e = /var/local/env/pyams/eggs -bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin -develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs -eggs = pyams_form [test] -eggs-directory = /var/local/env/pyams/eggs -find-links = http://download.ztfy.org/pyams -location = /home/tflorac/Dropbox/src/PyAMS/pyams_form/parts/test -recipe = zc.recipe.testrunner -script = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/test - [buildout] installed_develop_eggs = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-template.egg-link /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-form.egg-link @@ -95,88 +9,86 @@ /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-file.egg-link /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-skin.egg-link /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-i18n.egg-link - -[buildout] -parts = i18n pyflakes test package +parts = package i18n pyflakes pylint test -[buildout] -parts = pyflakes test package i18n - -[buildout] -parts = test package i18n pyflakes - -[buildout] -parts = package i18n pyflakes test +[package] +__buildout_installed__ = +__buildout_signature__ = zc.recipe.egg-1f0c6653b21ed3c3b90d505728e7e148 zc.buildout-1f0c6653b21ed3c3b90d505728e7e148 setuptools-1f0c6653b21ed3c3b90d505728e7e148 +_b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin +_d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs +_e = /home/tflorac/Dropbox/src/PyAMS/pyams_form/eggs +bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin +develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs +eggs = pyams_form +eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/eggs +find-links = http://download.ztfy.org/pyams +recipe = zc.recipe.egg -[buildout] -installed_develop_eggs = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-template.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-form.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/lingua.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-pagelet.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-catalog.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-viewlet.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-utils.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-file.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-skin.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-i18n.egg-link - -[buildout] -parts = i18n pyflakes test package - -[buildout] -parts = pyflakes test package i18n - -[buildout] -parts = test package i18n pyflakes - -[buildout] -parts = package i18n pyflakes test +[i18n] +__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pybabel + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/polint + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pot-create +__buildout_signature__ = zc.recipe.egg-1f0c6653b21ed3c3b90d505728e7e148 zc.buildout-1f0c6653b21ed3c3b90d505728e7e148 setuptools-1f0c6653b21ed3c3b90d505728e7e148 +_b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin +_d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs +_e = /home/tflorac/Dropbox/src/PyAMS/pyams_form/eggs +bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin +develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs +eggs = babel + lingua +eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/eggs +find-links = http://download.ztfy.org/pyams +recipe = zc.recipe.egg -[buildout] -installed_develop_eggs = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/tmpo6peetstbuild - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-template.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-form.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/lingua.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-pagelet.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-catalog.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-viewlet.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-utils.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-file.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-skin.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-i18n.egg-link - -[buildout] -parts = i18n pyflakes test package - -[buildout] -parts = pyflakes test package i18n - -[buildout] -parts = test package i18n pyflakes +[pyflakes] +__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pyflakes + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pyflakes +__buildout_signature__ = zc.recipe.egg-1f0c6653b21ed3c3b90d505728e7e148 zc.buildout-1f0c6653b21ed3c3b90d505728e7e148 setuptools-1f0c6653b21ed3c3b90d505728e7e148 +_b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin +_d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs +_e = /home/tflorac/Dropbox/src/PyAMS/pyams_form/eggs +bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin +develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs +eggs = pyflakes +eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/eggs +entry-points = pyflakes=pyflakes.scripts.pyflakes:main +find-links = http://download.ztfy.org/pyams +initialization = if not sys.argv[1:]: sys.argv[1:] = ["src"] +recipe = zc.recipe.egg +scripts = pyflakes -[buildout] -parts = package i18n pyflakes test +[pylint] +__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/epylint + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/symilar + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pyreverse + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pylint + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/pylint +__buildout_signature__ = zc.recipe.egg-1f0c6653b21ed3c3b90d505728e7e148 zc.buildout-1f0c6653b21ed3c3b90d505728e7e148 setuptools-1f0c6653b21ed3c3b90d505728e7e148 +_b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin +_d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs +_e = /home/tflorac/Dropbox/src/PyAMS/pyams_form/eggs +arguments = sys.argv[1:] +bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin +develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs +eggs = pyams_form + pylint +eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/eggs +entry-points = pylint=pylint.lint:Run +find-links = http://download.ztfy.org/pyams +recipe = zc.recipe.egg -[buildout] -installed_develop_eggs = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-template.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-form.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/lingua.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-pagelet.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-catalog.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-viewlet.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-utils.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-file.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-skin.egg-link - /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-i18n.egg-link - -[buildout] -parts = i18n pyflakes test package - -[buildout] -parts = pyflakes test package i18n - -[buildout] -parts = test package i18n pyflakes - -[buildout] -parts = package i18n pyflakes test +[test] +__buildout_installed__ = /home/tflorac/Dropbox/src/PyAMS/pyams_form/parts/test + /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/test +__buildout_signature__ = six-1f0c6653b21ed3c3b90d505728e7e148 zc.recipe.egg-1f0c6653b21ed3c3b90d505728e7e148 zc.recipe.testrunner-1f0c6653b21ed3c3b90d505728e7e148 zc.buildout-1f0c6653b21ed3c3b90d505728e7e148 zope.exceptions-1f0c6653b21ed3c3b90d505728e7e148 zope.interface-1f0c6653b21ed3c3b90d505728e7e148 zope.testrunner-1f0c6653b21ed3c3b90d505728e7e148 setuptools-1f0c6653b21ed3c3b90d505728e7e148 +_b = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin +_d = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs +_e = /home/tflorac/Dropbox/src/PyAMS/pyams_form/eggs +bin-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin +develop-eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs +eggs = pyams_form [test] +eggs-directory = /home/tflorac/Dropbox/src/PyAMS/pyams_form/eggs +find-links = http://download.ztfy.org/pyams +location = /home/tflorac/Dropbox/src/PyAMS/pyams_form/parts/test +recipe = zc.recipe.testrunner +script = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/test diff -r 975adcb82113 -r 0e48f5a82d32 buildout.cfg --- a/buildout.cfg Wed Dec 04 11:05:52 2019 +0100 +++ b/buildout.cfg Wed Dec 04 11:09:29 2019 +0100 @@ -1,21 +1,13 @@ [buildout] -eggs-directory = /var/local/env/pyams/eggs +eggs-directory = eggs extends = http://download.ztfy.org/pyams/pyams-dev.cfg find-links = http://download.ztfy.org/pyams - socket-timeout = 3 -show-picked-versions = true -newest = false - -allow-hosts = - bitbucket.org - *.python.org - *.sourceforge.net - github.com versions = versions +allow-picked-versions = false +show-picked-version = true newest = false -#allow-picked-versions = false src = src develop = @@ -34,17 +26,12 @@ package i18n pyflakes + pylint test [package] recipe = zc.recipe.egg -eggs = - pyams_form - pyams_skin - pyramid - z3c.form - zope.component - zope.interface +eggs = pyams_form [i18n] recipe = zc.recipe.egg @@ -64,9 +51,17 @@ on_install = true cmds = ${buildout:develop}/bin/${pyflakes:scripts} +[pylint] +recipe = zc.recipe.egg +eggs = + ${package:eggs} + pylint +entry-points = pylint=pylint.lint:Run +arguments = sys.argv[1:] + [test] recipe = zc.recipe.testrunner eggs = pyams_form [test] [versions] -pyams_form = 0.1.26.1 +pyams_form = 0.1.27 diff -r 975adcb82113 -r 0e48f5a82d32 docs/HISTORY.txt --- a/docs/HISTORY.txt Wed Dec 04 11:05:52 2019 +0100 +++ b/docs/HISTORY.txt Wed Dec 04 11:09:29 2019 +0100 @@ -1,6 +1,16 @@ History ======= +0.1.27 +------ + - code cleanup + - Gitlab-CI integration + +0.1.26.2 +-------- + - updated Select2 widget display template + - updated object sub-form template for z3c.form > 4.1.0 + 0.1.26.1 -------- - updated DottedDecimalFieldWidget template to add custom error message diff -r 975adcb82113 -r 0e48f5a82d32 docs/README.txt --- a/docs/README.txt Wed Dec 04 11:05:52 2019 +0100 +++ b/docs/README.txt Wed Dec 04 11:09:29 2019 +0100 @@ -0,0 +1,46 @@ +================== +PyAMS_form package +================== + +.. contents:: + + +What is PyAMS? +============== + +PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications +and content management with the Pyramid framework. + +**PyAMS** is 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 on `ReadTheDocs `_ + + +What is PyAMS_form? +=================== + +This package is an update of z3c.form package for use with Pyramid. + +PyAMS_form allows to use z3c.forms forms inside Pyramid applications, providing a bridge between +initial Pyramid request and Zope publisher request used by z3c.form, with the help of the +"pyramid_zope_request" package. + +PyAMS_form also provides custom templates for forms and for z3c.form widgets, to use them with the +MyAMS framework used by PyAMS_skin and PyAMS_zmi packages, and provides a small set of additional +widgets. + +This package also provides additional features, like form groups (which allows to group a set of +form's widgets inside a fieldset), and a set of viewlet managers which can be used to extend a +form's content using viewlets adapters; you can also extend a form by defining sub-forms and +tab-forms adapters. + + +Note about PyAMS_form API +========================= + +PyAMS_form naming convention is actually a mix between z3c.form API, which is using camelCase +naming convention, and Pyramid which is using standard Python's snake_case convention. A complete +rewrite of PyAMS_form package, which will integrate all z3c.form features with a uniform API +compliant with Pyramid's standards, is actually planned... diff -r 975adcb82113 -r 0e48f5a82d32 setup.py --- a/setup.py Wed Dec 04 11:05:52 2019 +0100 +++ b/setup.py Wed Dec 04 11:09:29 2019 +0100 @@ -11,7 +11,7 @@ # """ -This module contains pyams_ package +This module contains pyams_form package """ import os @@ -24,7 +24,7 @@ README = os.path.join(DOCS, 'README.txt') HISTORY = os.path.join(DOCS, 'HISTORY.txt') -version = '0.1.26.1' +version = '0.1.27' long_description = open(README).read() + '\n\n' + open(HISTORY).read() tests_require = [] @@ -58,6 +58,7 @@ install_requires=[ 'setuptools', # -*- Extra requirements: -*- + 'persistent', 'pyams_i18n', 'pyams_pagelet', 'pyams_skin', @@ -67,7 +68,9 @@ 'pyramid', 'pyramid_chameleon', 'pyramid_zope_request', - 'z3c.form >= 3.4.0', + 'transaction', + 'venusian', + 'z3c.form >= 4.1.0', 'z3c.table', 'zope.component', 'zope.interface', diff -r 975adcb82113 -r 0e48f5a82d32 src/pyams_form.egg-info/PKG-INFO --- a/src/pyams_form.egg-info/PKG-INFO Wed Dec 04 11:05:52 2019 +0100 +++ b/src/pyams_form.egg-info/PKG-INFO Wed Dec 04 11:09:29 2019 +0100 @@ -1,16 +1,72 @@ Metadata-Version: 2.1 Name: pyams-form -Version: 0.1.26.1 +Version: 0.1.27 Summary: PyAMS base form interfaces and classes Home-page: http://hg.ztfy.org/pyams/pyams_form Author: Thierry Florac Author-email: tflorac@ulthar.net License: ZPL -Description: +Description: ================== + PyAMS_form package + ================== + + .. contents:: + + + What is PyAMS? + ============== + + PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications + and content management with the Pyramid framework. + + **PyAMS** is 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 on `ReadTheDocs `_ + + + What is PyAMS_form? + =================== + + This package is an update of z3c.form package for use with Pyramid. + + PyAMS_form allows to use z3c.forms forms inside Pyramid applications, providing a bridge between + initial Pyramid request and Zope publisher request used by z3c.form, with the help of the + "pyramid_zope_request" package. + + PyAMS_form also provides custom templates for forms and for z3c.form widgets, to use them with the + MyAMS framework used by PyAMS_skin and PyAMS_zmi packages, and provides a small set of additional + widgets. + + This package also provides additional features, like form groups (which allows to group a set of + form's widgets inside a fieldset), and a set of viewlet managers which can be used to extend a + form's content using viewlets adapters; you can also extend a form by defining sub-forms and + tab-forms adapters. + + + Note about PyAMS_form API + ========================= + + PyAMS_form naming convention is actually a mix between z3c.form API, which is using camelCase + naming convention, and Pyramid which is using standard Python's snake_case convention. A complete + rewrite of PyAMS_form package, which will integrate all z3c.form features with a uniform API + compliant with Pyramid's standards, is actually planned... + History ======= + 0.1.27 + ------ + - code cleanup + - Gitlab-CI integration + + 0.1.26.2 + -------- + - updated Select2 widget display template + - updated object sub-form template for z3c.form > 4.1.0 + 0.1.26.1 -------- - updated DottedDecimalFieldWidget template to add custom error message diff -r 975adcb82113 -r 0e48f5a82d32 src/pyams_form.egg-info/SOURCES.txt --- a/src/pyams_form.egg-info/SOURCES.txt Wed Dec 04 11:05:52 2019 +0100 +++ b/src/pyams_form.egg-info/SOURCES.txt Wed Dec 04 11:09:29 2019 +0100 @@ -21,7 +21,7 @@ src/pyams_form.egg-info/not-zip-safe src/pyams_form.egg-info/requires.txt src/pyams_form.egg-info/top_level.txt -src/pyams_form/doctests/README.txt +src/pyams_form/doctests/README.rst src/pyams_form/interfaces/__init__.py src/pyams_form/interfaces/form.py src/pyams_form/interfaces/templates/form.pt diff -r 975adcb82113 -r 0e48f5a82d32 src/pyams_form.egg-info/requires.txt --- a/src/pyams_form.egg-info/requires.txt Wed Dec 04 11:05:52 2019 +0100 +++ b/src/pyams_form.egg-info/requires.txt Wed Dec 04 11:09:29 2019 +0100 @@ -1,4 +1,5 @@ setuptools +persistent pyams_i18n pyams_pagelet pyams_skin @@ -8,7 +9,9 @@ pyramid pyramid_chameleon pyramid_zope_request -z3c.form>=3.4.0 +transaction +venusian +z3c.form>=4.1.0 z3c.table zope.component zope.interface