GCal Coupling: Management Site - decoupled Email from profile
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import logging
|
||||
import uuid
|
||||
from eventplanner.models import Event
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
|
||||
from apiclient.channel import Channel
|
||||
from django.db import models
|
||||
@@ -9,6 +11,12 @@ from django.db import models
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class UserGCalCoupling( models.Model ):
|
||||
# For every user in this table the gcal coupling is activated
|
||||
user = models.OneToOneField( User )
|
||||
email = models.CharField( max_length=1024 )
|
||||
|
||||
|
||||
class GCalMapping( models.Model ):
|
||||
"""Mapping between event id at google and local event id"""
|
||||
gcal_id = models.CharField( max_length=64 )
|
||||
|
||||
Reference in New Issue
Block a user