Started with google calendar coupling
This commit is contained in:
1
eventplanner_gcal/management/commands/__init__.py
Normal file
1
eventplanner_gcal/management/commands/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
10
eventplanner_gcal/management/commands/events_gcal_sync.py
Normal file
10
eventplanner_gcal/management/commands/events_gcal_sync.py
Normal file
@@ -0,0 +1,10 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user