web/views/basecontrollers.py
changeset 4466 8b0ca7904820
parent 4436 294e084f1263
child 4629 1eeef3cbf528
--- a/web/views/basecontrollers.py	Fri Feb 05 08:55:21 2010 +0100
+++ b/web/views/basecontrollers.py	Fri Feb 05 11:54:23 2010 +0100
@@ -15,9 +15,10 @@
 import simplejson
 
 from logilab.common.decorators import cached
+from logilab.common.date import strptime
 
 from cubicweb import NoSelectableObject, ValidationError, ObjectNotFound, typed_eid
-from cubicweb.utils import strptime, CubicWebJsonEncoder
+from cubicweb.utils import CubicWebJsonEncoder
 from cubicweb.selectors import yes, match_user_groups
 from cubicweb.mail import format_mail
 from cubicweb.web import ExplicitLogin, Redirect, RemoteCallFailed, json_dumps