11 lines
295 B
Python
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()
|