Ejemplo n.º 1
0
 def _process(self):
     editables = [e for e in self.editables if e.editor]
     for editable in editables:
         unassign_editor(editable)
     return EditableBasicSchema(many=True).jsonify(editables)
Ejemplo n.º 2
0
 def _process_DELETE(self):
     unassign_editor(self.editable)
     return '', 204