--- a/web/test/data/schema.py Tue Dec 08 16:27:05 2015 +0100
+++ b/web/test/data/schema.py Tue Dec 08 16:28:20 2015 +0100
@@ -20,6 +20,9 @@
String, Int, Datetime, Boolean, Float)
from yams.constraints import IntervalBoundConstraint
+from cubicweb import _
+
+
class Salesterm(EntityType):
described_by_test = SubjectRelation('File', cardinality='1*',
composite='subject', inlined=True)
--- a/web/views/editcontroller.py Tue Dec 08 16:27:05 2015 +0100
+++ b/web/views/editcontroller.py Tue Dec 08 16:28:20 2015 +0100
@@ -31,7 +31,7 @@
from rql.utils import rqlvar_maker
-from cubicweb import Binary, ValidationError
+from cubicweb import _, Binary, ValidationError
from cubicweb.view import EntityAdapter
from cubicweb.predicates import is_instance
from cubicweb.web import (INTERNAL_FIELD_VALUE, RequestError, NothingToEdit,