Files
blechreiz-website/eventplanner_gcal/management/commands/gcal_check_subscription.py
2026-04-08 22:09:51 +02:00

12 lines
344 B
Python

from django.core.management.base import BaseCommand
from eventplanner_gcal.google_sync import check_gcal_subscription
class Command(BaseCommand):
help = 'Checks if the GCal notification channel is still active'
def handle(self, *args, **options):
self.stdout.write('Checking Subscription')
check_gcal_subscription()