changeset 10666 | 7f6b5f023884 |
parent 10529 | 747eded13c68 |
child 11261 | 9e926f2dc84d |
10665:79ff784cd8af | 10666:7f6b5f023884 |
---|---|
21 |
21 |
22 from cubicweb.schema import (WorkflowableEntityType, |
22 from cubicweb.schema import (WorkflowableEntityType, |
23 RQLConstraint, RQLVocabularyConstraint) |
23 RQLConstraint, RQLVocabularyConstraint) |
24 |
24 |
25 |
25 |
26 _ = unicode |
26 from cubicweb import _ |
27 |
27 |
28 |
28 |
29 class Personne(EntityType): |
29 class Personne(EntityType): |
30 nom = String(required=True) |
30 nom = String(required=True) |
31 prenom = String() |
31 prenom = String() |