modif cron
This commit is contained in:
@@ -39,6 +39,7 @@ CSRF_TRUSTED_ORIGINS = ['https://rh.ambulance-clerc.ch']
|
||||
LOGIN_REDIRECT_URL = '/admin'
|
||||
INSTALLED_APPS = [
|
||||
'jazzmin',
|
||||
'django_cron',
|
||||
'django.contrib.auth',
|
||||
'django.contrib.contenttypes',
|
||||
'django.contrib.sessions',
|
||||
@@ -54,8 +55,7 @@ INSTALLED_APPS = [
|
||||
'rangefilter',
|
||||
'django.contrib.admin',
|
||||
'carnet_rouge.apps.CarnetRougeConfig',
|
||||
'django_summernote',
|
||||
'django-cron',
|
||||
'django_summernote',
|
||||
]
|
||||
|
||||
INSTALLED_APPS += ( 'apilog.apps.ApilogConfig',)
|
||||
@@ -135,6 +135,10 @@ MIDDLEWARE = [
|
||||
'django.middleware.locale.LocaleMiddleware',
|
||||
]
|
||||
|
||||
CRON_CLASSES = [
|
||||
"mycaldav.cron.InitTaskSync",
|
||||
]
|
||||
|
||||
CORS_ALLOWED_ORIGINS = [
|
||||
"http://33.144.144.13:4173",
|
||||
"http://33.144.144.13:5173",
|
||||
|
Reference in New Issue
Block a user