diff -r 6b2b20c73d59 -r 3fbdeef9a610 web/views/editcontroller.py --- a/web/views/editcontroller.py Mon Dec 21 19:45:24 2009 +0100 +++ b/web/views/editcontroller.py Mon Dec 21 19:52:21 2009 +0100 @@ -7,9 +7,9 @@ """ __docformat__ = "restructuredtext en" -from decimal import Decimal +from rql.utils import rqlvar_maker -from rql.utils import rqlvar_maker +from logilab.common.textutils import splitstrip from cubicweb import Binary, ValidationError, typed_eid from cubicweb.web import INTERNAL_FIELD_VALUE, RequestError, NothingToEdit, ProcessFormError @@ -17,11 +17,6 @@ from cubicweb.web.views.basecontrollers import ViewController -class ToDoLater(Exception): - """exception used in the edit controller to indicate that a relation - can't be handled right now and have to be handled later - """ - class RqlQuery(object): def __init__(self): self.edited = [] @@ -48,6 +43,7 @@ self.kwargs[var] = eid return rql + class EditController(ViewController): __regid__ = 'edit'