Various fixes

This commit is contained in:
2026-04-08 22:09:51 +02:00
parent 149a488795
commit 6bd9119093
13 changed files with 1613 additions and 152 deletions

View File

@@ -1,8 +1,10 @@
from django.core.management.base import NoArgsCommand
from django.core.management.base import BaseCommand
from eventplanner_gcal.google_sync import stopAllGCalSubscriptions
from eventplanner_gcal.google_sync import stop_all_gcal_subscriptions
class Command(NoArgsCommand):
class Command(BaseCommand):
help = 'Stops all GCal subscriptions'
def handle_noargs(self, **options):
stopAllGCalSubscriptions()
def handle(self, *args, **options):
stop_all_gcal_subscriptions()