(self)
Delete expired metadata.
Delete expired metadata.
Delete expired metadata .
def cleanup(self):
        """Delete expired metadata."""
        self.TaskModel._default_manager.delete_expired(self.expires)
        self.GroupModel._default_manager.delete_expired(self.expires)
def cleanup ( self ) : self . TaskModel . _default_manager . delete_expired ( self . expires ) self . GroupModel . _default_manager . delete_expired ( self . expires )