-use Amazon SES to send calendar sync email when user initially subscribes to the calendar sync feature
13 lines
323 B
Python
13 lines
323 B
Python
from factory.django import DjangoModelFactory
|
|
from openedx.features.calendar_sync.models import UserCalendarSyncConfig
|
|
|
|
|
|
class UserCalendarSyncConfigFactory(DjangoModelFactory):
|
|
"""
|
|
Factory class for SiteConfiguration model
|
|
"""
|
|
class Meta(object):
|
|
model = UserCalendarSyncConfig
|
|
|
|
enabled = True
|