GCal Mapping: Callback mechanism using channels
This commit is contained in:
committed by
Martin Bauer
parent
ba0cde09c1
commit
fcb04058b5
@@ -1,8 +1,20 @@
|
||||
from django.shortcuts import redirect
|
||||
from eventplanner_gcal.models import syncGCalEvents, syncParticipationFromGoogleToLocal
|
||||
|
||||
from eventplanner_gcal.models import syncGCalEvents
|
||||
|
||||
def runSync( request ):
|
||||
syncGCalEvents()
|
||||
return redirect("/")
|
||||
|
||||
|
||||
def gcalApiCallback( request ):
|
||||
syncParticipationFromGoogleToLocal()
|
||||
print ( "gcalApiCallback called" )
|
||||
return redirect("/")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user