Skip to content
Snippets Groups Projects
Commit 65c3bb0b8e0c authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

backport stable

No related branches found
No related tags found
No related merge requests found
from yams.buildobjs import EntityType, String, SubjectRelation from yams.buildobjs import EntityType, String, RichString, SubjectRelation
from cubicweb.schema import WorkflowableEntityType, ERQLExpression from cubicweb.schema import WorkflowableEntityType, ERQLExpression
...@@ -2,9 +2,4 @@ ...@@ -2,9 +2,4 @@
from cubicweb.schema import WorkflowableEntityType, ERQLExpression from cubicweb.schema import WorkflowableEntityType, ERQLExpression
try:
from yams.buildobjs import RichString
except ImportError:
from cubicweb.schema import RichString
class Blog(EntityType): class Blog(EntityType):
title = String(maxsize=50, required=True) title = String(maxsize=50, required=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment