--- a/web/views/basecontrollers.py Tue Sep 15 16:03:17 2009 +0200
+++ b/web/views/basecontrollers.py Tue Sep 15 19:04:09 2009 +0200
@@ -11,16 +11,14 @@
__docformat__ = "restructuredtext en"
from smtplib import SMTP
-import datetime
import simplejson
from logilab.common.decorators import cached
from cubicweb import NoSelectableObject, ValidationError, ObjectNotFound, typed_eid
-from cubicweb.utils import strptime
+from cubicweb.utils import strptime, CubicWebJsonEncoder
from cubicweb.selectors import yes, match_user_groups
-from cubicweb.view import STRICT_DOCTYPE, STRICT_DOCTYPE_NOEXT
from cubicweb.common.mail import format_mail
from cubicweb.web import ExplicitLogin, Redirect, RemoteCallFailed, json_dumps
from cubicweb.web.controller import Controller