Files
blechreiz-website/eventplanner_gcal/management/commands/events_gcal_sync.py
2014-03-08 22:36:25 +01:00

11 lines
295 B
Python

from django.core.management.base import BaseCommand
from eventplanner_gcal.models import syncGCalEvents
class Command(BaseCommand):
help = 'Synchronize Google Calendar with locally stored Events'
def handle(self, **options):
print ( "Running Sync")
syncGCalEvents()