Hi "forms" maintainers!
Current state (note the "ä" character (German 'ae' in name):
form.addField('währung', forms.String(required=True))
You can fill some data in the form, but you permanently get the
"required" message for this field.
Attached patch open the possibility of using Unicode characters
in field names and corrects above error.
Thanks for the great package!
Paul
Index: form.py
===================================================================
--- form.py (Revision 147)
+++ form.py (Arbeitskopie)
@@ -81,6 +81,7 @@
def addField(self, name, type, widgetFactory=None, label=None,
description=None, cssClass=None):
if self.items is None:
self.items = []
+ name = unicode(name)
type.name = name
if label is None:
label = util.titleFromName(name)
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web