blechreiz-website/eventplanner_gcal/management/commands/gcal_stopSubscriptions.py

9 lines
271 B
Python
Raw Normal View History

from django.core.management.base import NoArgsCommand
2014-04-26 11:17:10 +02:00
from eventplanner_gcal.google_sync import stopAllGCalSubscriptions
class Command(NoArgsCommand):
help = 'Stops all GCal subscriptions'
def handle_noargs(self, **options):
stopAllGCalSubscriptions()