equal
deleted
inserted
replaced
65 To define a workflow for BlogDemo, please add the following lines |
65 To define a workflow for BlogDemo, please add the following lines |
66 to ``migration/postcreate.py``: |
66 to ``migration/postcreate.py``: |
67 |
67 |
68 .. sourcecode:: python |
68 .. sourcecode:: python |
69 |
69 |
70 _ = unicode |
70 from cubicweb import _ |
|
71 |
71 |
72 |
72 moderators = add_entity('CWGroup', name=u"moderators") |
73 moderators = add_entity('CWGroup', name=u"moderators") |
73 |
74 |
74 This adds the `moderators` user group. |
75 This adds the `moderators` user group. |
75 |
76 |