mitsuhiko / fungiform Goto Github PK
View Code? Open in Web Editor NEWA form library for Python based on Zine's form system.
License: Other
A form library for Python based on Zine's form system.
License: Other
======================================================================
FAIL: test_multichoice (fungiform.tests.widgets.WidgetTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/florent/dev/labs/hg_fungiform/fungiform/tests/widgets.py", line 36, in test_multichoice
u'</form>', MyForm().as_widget().render())
AssertionError: u'<form action="" method="post"><dl><dt><label for="f_mc">Foo</label></dt><dd><ul id="f_mc" class="choicegroup"><li><input type="checkbox" id="f_mc_1" value="1" name="mc"> <label for="f_mc_1">One</label></li><li><input type="checkbox" id="f_mc_2" value="2" name="mc"> <label for="f_mc_2">Two</label></li></ul></dd></dl><div class="actions"><input type="submit" value="Submit"></div></form>' != u'<form action="" method="post"><dl><dt><label for="f_mc">Foo</label></dt><dd><ul id="f_mc" class="choicegroup"><li><input type="checkbox" id="f_mc_1" value="1" name="mc"> <label for="f_mc_1">One</label></li><li><input type="checkbox" id="f_mc_2" value="2" name="mc"> <label for="f_mc_2">Two</label></li></ul></dd></dl><div class="actions"><input type="submit" value="Submit"></div></form>'
----------------------------------------------------------------------
Ran 24 tests in 0.034s
FAILED (failures=1)
Although modern approaches to handling file uploads do so asynchronously, it is important to handle the ol' . I haven't worked up a patch because there is no obvious way to handle this. Frameworks have different ways to handling multipart request bodies. I suspect FormBase
binding may need to change. Any thoughts?
I would like to use Markup strings as validation error messages. Useful for things like "Password did not match. Reset your password here."
Currently there is no way to make for example a mapping in a multiple field properly skip the item. If extra_rows=1 is used for each validation a new item appears, even if nothing is inserted.
FloatField missing in fungiform.forms.all and import FloatField in Flask-Fungiform failed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.