changes from desktop computer

This commit is contained in:
Martin Bauer
2023-01-03 20:13:35 +01:00
parent e2c8915321
commit e2d166e437
51 changed files with 204 additions and 5008 deletions

View File

@@ -5,6 +5,7 @@ import time
from eventplanner.models import Event, EventParticipation
from eventplanner_gcal.models import GCalMapping, GCalPushChannel, UserGCalCoupling
# noinspection PyUnresolvedReferences,PyUnresolvedReferences
from apiclient.http import BatchHttpRequest
from builtins import str as text # python2 and python3
from django.conf import settings
@@ -17,6 +18,7 @@ logger = logging.getLogger(__name__)
def create_gcal_service_object():
"""Creates a Google API service object. This object is required whenever a Google API call is made"""
from oauth2client.file import Storage
# noinspection PyUnresolvedReferences
from apiclient.discovery import build
gcal_settings = settings.GCAL_COUPLING