hooks/syncschema.py
changeset 4003 b9436fe77c9e
parent 3890 d7a270f50f54
child 4011 394f853bb653
equal deleted inserted replaced
3998:94cc7cad3d2d 4003:b9436fe77c9e
   779       CWAttribute entities
   779       CWAttribute entities
   780     * add owned_by relation by creating the necessary CWRelation entity
   780     * add owned_by relation by creating the necessary CWRelation entity
   781     * register an operation to add the entity type to the instance's
   781     * register an operation to add the entity type to the instance's
   782       schema on commit
   782       schema on commit
   783     """
   783     """
   784 <<<<<<< /home/syt/src/fcubicweb/cubicweb/hooks/syncschema.py
       
   785     __regid__ = 'syncaddcwetype'
   784     __regid__ = 'syncaddcwetype'
   786     events = ('after_add_entity',)
   785     events = ('after_add_entity',)
   787 
   786 
   788     def __call__(self):
   787     def __call__(self):
   789         entity = self.entity
   788         entity = self.entity