Files
blechreiz-website/eventplanner_gcal/management/commands/gcal_checkSubscription.py
2014-04-19 20:38:16 +02:00

10 lines
330 B
Python

from django.core.management.base import NoArgsCommand
from eventplanner_gcal.signals import checkGCalSubscription
class Command(NoArgsCommand):
help = 'Checks if the GCal notification channel is still active'
def handle_noargs(self, **options):
print ( "Checking Subscription")
checkGCalSubscription()