diff --git a/colab/planet/management/__init__.py b/colab/planet/management/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/colab/planet/management/__init__.py diff --git a/colab/planet/management/commands/__init__.py b/colab/planet/management/commands/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/colab/planet/management/commands/__init__.py diff --git a/colab/planet/management/commands/update_planet.py b/colab/planet/management/commands/update_planet.py new file mode 100644 index 0000000..8d7fc03 --- /dev/null +++ b/colab/planet/management/commands/update_planet.py @@ -0,0 +1,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) -- libgit2 0.21.2