Fully remove cron jobs for new system
This commit is contained in:
@@ -58,7 +58,6 @@ INSTALLED_APPS = (
|
|||||||
'adventures',
|
'adventures',
|
||||||
'worldtravel',
|
'worldtravel',
|
||||||
'users',
|
'users',
|
||||||
# 'django_apscheduler',
|
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -228,11 +227,9 @@ SWAGGER_SETTINGS = {
|
|||||||
'LOGOUT_URL': 'logout',
|
'LOGOUT_URL': 'logout',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# For demo purposes only. Use a white list in the real world.
|
# For demo purposes only. Use a white list in the real world.
|
||||||
CORS_ORIGIN_ALLOW_ALL = True
|
CORS_ORIGIN_ALLOW_ALL = True
|
||||||
|
|
||||||
|
|
||||||
from os import getenv
|
from os import getenv
|
||||||
|
|
||||||
CSRF_TRUSTED_ORIGINS = [origin.strip() for origin in getenv('CSRF_TRUSTED_ORIGINS', 'http://localhost').split(',') if origin.strip()]
|
CSRF_TRUSTED_ORIGINS = [origin.strip() for origin in getenv('CSRF_TRUSTED_ORIGINS', 'http://localhost').split(',') if origin.strip()]
|
||||||
@@ -261,6 +258,4 @@ LOGGING = {
|
|||||||
'propagate': False,
|
'propagate': False,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
SCHEDULER_AUTOSTART = True
|
|
||||||
@@ -10,5 +10,4 @@ python-dotenv
|
|||||||
psycopg2-binary
|
psycopg2-binary
|
||||||
Pillow
|
Pillow
|
||||||
whitenoise
|
whitenoise
|
||||||
django-resized
|
django-resized
|
||||||
django-apscheduler
|
|
||||||
Reference in New Issue
Block a user