ext/rest.py
changeset 10952 4f28cb25b6c1
parent 10023 c3ab46842b2d
child 10953 8b8193046600
--- a/ext/rest.py	Thu Jul 30 11:11:12 2015 +0200
+++ b/ext/rest.py	Tue Dec 08 10:24:44 2015 +0100
@@ -34,6 +34,7 @@
 """
 __docformat__ = "restructuredtext en"
 
+import sys
 from cStringIO import StringIO
 from itertools import chain
 from logging import getLogger
@@ -415,6 +416,8 @@
                 # (though try/except may be a better option...). May be the
                 # above traceback option will avoid this?
                 'halt_level': 10,
+                # disable stupid switch to colspan=2 if field name is above a size limit
+                'field_name_limit': sys.maxsize,
                 }
     if context:
         if hasattr(req, 'url'):