diff --git a/camelot/view/field_attributes.py b/camelot/view/field_attributes.py index 9d072d47..12c51a8a 100644 --- a/camelot/view/field_attributes.py +++ b/camelot/view/field_attributes.py @@ -66,15 +66,6 @@ 'operators' : (operator.eq,), }, - sqlalchemy.types.BOOLEAN: lambda f: { - 'python_type': bool, - 'editable': True, - 'nullable': True, - 'delegate': delegates.BoolDelegate, - 'from_string': bool_from_string, - 'operators' : (operator.eq,), - }, - sqlalchemy.types.Date: lambda f: { 'python_type': datetime.date, 'format': constants.camelot_date_format, @@ -149,18 +140,6 @@ 'operators': _numerical_operators, }, - sqlalchemy.types.INT: lambda f: { - 'python_type': int, - 'editable': True, - 'minimum': constants.camelot_minint, - 'maximum': constants.camelot_maxint, - 'nullable': True, - 'delegate': delegates.IntegerDelegate, - 'from_string': int_from_string, - 'widget': 'int', - 'operators': _numerical_operators, - }, - sqlalchemy.types.String: lambda f: { 'python_type': str, 'length': f.length, @@ -172,17 +151,6 @@ 'operators' : _text_operators, }, - sqlalchemy.types.TEXT: lambda f: { - 'python_type': str, - 'length': f.length, - 'delegate': delegates.PlainTextDelegate, - 'editable': True, - 'nullable': True, - 'widget': 'str', - 'from_string': string_from_string, - 'operators' : _text_operators, - }, - camelot.types.Image: lambda f: { 'python_type': str, 'editable': True,