def METHOD_NAME(cls):
    categories = cls.objects.all()
    for category in categories:
        logging.info(f" ---> Auditing category: {category} {category.feed_ids}")
        keep_feed_ids = []
        for feed_id in category.feed_ids:
            feed = Feed.get_by_id(feed_id)
            if feed:
                logging.info(f" \t---> Keeping feed: {feed_id} {feed}")
                keep_feed_ids.append(feed.pk)
            else:
                logging.info(f" \t***> Skipping missing feed: {feed_id}")
        category.feed_ids = keep_feed_ids
        category.save()