示例#1
0
    def handle(self, *args, **options):
        # Make sure that the library knows about all the types of feeds.
        import_all_feeds()

        records = self.get_records()
        updater = ContentFeedRecordUpdater()
        updater.update_all(records)
    def handle(self, *args, **options):
        # Assuming that the feeds have been updated

        import_all_feeds()
        dispatcher = SubscriptionEmailer()

        subscribers = Subscriber.objects.all()
        for subscriber in subscribers:
            dispatcher.dispatch_subscriptions_for(subscriber)
示例#3
0
    def handle(self, *args, **options):
        # Assuming that the feeds have been updated

        import_all_feeds()
        dispatcher = SubscriptionEmailer()

        subscribers = Subscriber.objects.all()
        for subscriber in subscribers:
            dispatcher.dispatch_subscriptions_for(subscriber)