示例#1
0
 def delete(self, skip_autoupdate=False, *args, **kwargs):
     """
     Customized method to delete an assignment. Ensures that a respective
     assignment projector element is disabled.
     """
     Projector.remove_any(skip_autoupdate=skip_autoupdate,
                          name='assignments/assignment',
                          id=self.pk)
     return super().delete(skip_autoupdate=skip_autoupdate, *args,
                           **kwargs)  # type: ignore # TODO fix typing
示例#2
0
 def delete(self, skip_autoupdate=False, *args, **kwargs):
     """
     Customized method to delete a motion block. Ensures that a respective
     motion block projector element is disabled.
     """
     Projector.remove_any(skip_autoupdate=skip_autoupdate,
                          name='motions/motion-block',
                          id=self.pk)
     return super().delete(skip_autoupdate=skip_autoupdate, *args,
                           **kwargs)  # type: ignore
示例#3
0
 def delete(self, skip_autoupdate=False, *args, **kwargs):
     """
     Customized method to delete an agenda item. Ensures that a respective
     list of speakers projector element is disabled.
     """
     Projector.remove_any(skip_autoupdate=skip_autoupdate,
                          name='agenda/list-of-speakers',
                          id=self.pk)
     return super().delete(skip_autoupdate=skip_autoupdate, *args,
                           **kwargs)  # type: ignore
示例#4
0
 def delete(self, skip_autoupdate=False, *args, **kwargs):
     """
     Customized method to delete a motion. Ensures that a respective
     motion projector element is disabled.
     """
     Projector.remove_any(
         skip_autoupdate=skip_autoupdate,
         name='motions/motion',
         id=self.pk)
     return super().delete(skip_autoupdate=skip_autoupdate, *args, **kwargs)  # type: ignore
示例#5
0
 def delete(self, skip_autoupdate=False, *args, **kwargs):
     """
     Customized method to delete an agenda item. Ensures that a respective
     list of speakers projector element is disabled.
     """
     Projector.remove_any(
         skip_autoupdate=skip_autoupdate,
         name='agenda/list-of-speakers',
         id=self.pk)
     return super().delete(skip_autoupdate=skip_autoupdate, *args, **kwargs)  # type: ignore
示例#6
0
 def delete(self, skip_autoupdate=False, *args, **kwargs):
     """
     Customized method to delete an assignment. Ensures that a respective
     assignment projector element is disabled.
     """
     Projector.remove_any(
         skip_autoupdate=skip_autoupdate,
         name='assignments/assignment',
         id=self.pk)
     return super().delete(skip_autoupdate=skip_autoupdate, *args, **kwargs)  # type: ignore # TODO fix typing