schema.py
branchtls-sprint
changeset 1016 26387b836099
parent 745 3e46854acf58
child 1034 0356bbfb2f26
--- a/schema.py	Mon Mar 09 12:12:53 2009 +0100
+++ b/schema.py	Tue Mar 10 11:35:52 2009 +0100
@@ -23,6 +23,11 @@
 
 from cubicweb import ETYPE_NAME_MAP, ValidationError, Unauthorized
 
+# XXX <3.2 bw compat
+from yams import schema
+schema.use_py_datetime()
+nodes.use_py_datetime() 
+
 _ = unicode
 
 BASEGROUPS = ('managers', 'users', 'guests', 'owners')