web/formfields.py
changeset 7166 dde161937d3e
parent 7070 5f8e52d722c5
child 7231 18bcb98d129a
--- a/web/formfields.py	Fri Apr 01 14:38:16 2011 +0200
+++ b/web/formfields.py	Fri Apr 01 15:04:47 2011 +0200
@@ -1200,14 +1200,19 @@
 
 
 FIELDS = {
-    'Boolean':  BooleanField,
+    'String' :  StringField,
     'Bytes':    FileField,
-    'Date':     DateField,
-    'Datetime': DateTimeField,
+    'Password': PasswordField,
+
+    'Boolean':  BooleanField,
     'Int':      IntField,
     'Float':    FloatField,
     'Decimal':  StringField,
-    'Password': PasswordField,
-    'String' :  StringField,
-    'Time':     TimeField,
+
+    'Date':       DateField,
+    'Datetime':   DateTimeField,
+    'TZDatetime': DateTimeField,
+    'Time':       TimeField,
+    'TZTime':     TimeField,
+    # XXX implement 'Interval': TimeIntervalField,
     }