|
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()
|