deform
deform copied to clipboard
A Python HTML form library.
Problem: the tinyMCE editor does not like jQuery-sortable. After changing the order of a sequence item containing a tinyMCE instance the editor will lose its content, instead displaying a grey...
# Example ## Before  ## After 
Tested on Debian 11.3 with Python 3.9, where all functional tests fails with v0.29.0 but pass with v0.31.0.
This fixes a bug when csrf_token value appears empty in a form in the case when a schema has been created before creating a session factory, i.e. ..input type="hidden" name="csrf_token"...
When Deform 3.0 is approaching release, review all the docs and docstrings for any references to obsolete versions and update accordingly.
Better late then never :) https://github.com/Pylons/deform/issues/394
Hi! This is my form post: `MultiDict([('_charset_', 'UTF-8'), ('__formid__', 'deform'), ('token', '2993df2af005fdedea14ea7d79dcde97c7b0e677'), ('__start__', 'sdate:mapping'), ('date', '2021-08-20'), ('dt_date-visible', '20/08/2021'), ('__end__', 'sdate:mapping'), ('__start__', 'estimated_edate:mapping'), ('date', '2021-08-20'), ('dt_date-visible', '20/08/2021'), ('__end__', 'estimated_edate:mapping'), ('name', 'AAA'),...
As per [docs](https://docs.pylonsproject.org/projects/deform/en/latest/api.html#deform.Form), `formid` argument is intended for placing more than one Deform form into a single page. Though [autogenerated `oid`s](https://github.com/Pylons/deform/blob/2.0.8/deform/field.py#L169) will conflict in this case (violating HTML standard and...
Browser support is incomplete, but better than nothing :). See https://caniuse.com/mdn-html_global_attributes_autocomplete_new-password
Setting the ``Content-Security-Policy`` (CSP) HTTP header (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy), which is a good thing, means that inline ```` and ```` tags will be blocked by the browser unless either the ``unsafe-inline`` CSP...