update_planet.py 291 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 from django.conf import settings from feedzilla.management.commands import feedzilla_update class Command(feedzilla_update.Command): def handle(self, *args, **kwargs): if getattr(settings, 'FEEDZILLA_ENABLED', False): super(Command, self).handle(*args, **kwargs)