Commit f4096dbd authored by Romain Courteaud's avatar Romain Courteaud

Check date type.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4216 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d9b8391e
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
############################################################################## ##############################################################################
from Constraint import Constraint from Constraint import Constraint
from DateTime import DateTime
class PropertyTypeValidity(Constraint): class PropertyTypeValidity(Constraint):
""" """
...@@ -49,6 +50,7 @@ class PropertyTypeValidity(Constraint): ...@@ -49,6 +50,7 @@ class PropertyTypeValidity(Constraint):
'tokens': (type([]), type(())), 'tokens': (type([]), type(())),
'selection': (type([]), type(())), 'selection': (type([]), type(())),
'multiple selection': (type([]), type(())), 'multiple selection': (type([]), type(())),
'date': (type(DateTime()), ),
} }
def _checkPropertiesAttributes(self): def _checkPropertiesAttributes(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment