From 283431085f84f351cff6ec9addb21785d6bf6851 Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Wed, 21 Aug 2024 18:59:18 -0400 Subject: [PATCH] Fully remove cron jobs for new system --- backend/server/main/settings.py | 7 +------ backend/server/requirements.txt | 3 +-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/backend/server/main/settings.py b/backend/server/main/settings.py index c19b5ea..5515c9b 100644 --- a/backend/server/main/settings.py +++ b/backend/server/main/settings.py @@ -58,7 +58,6 @@ INSTALLED_APPS = ( 'adventures', 'worldtravel', 'users', - # 'django_apscheduler', ) @@ -228,11 +227,9 @@ SWAGGER_SETTINGS = { 'LOGOUT_URL': 'logout', } - # For demo purposes only. Use a white list in the real world. CORS_ORIGIN_ALLOW_ALL = True - from os import getenv 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, }, }, -} - -SCHEDULER_AUTOSTART = True \ No newline at end of file +} \ No newline at end of file diff --git a/backend/server/requirements.txt b/backend/server/requirements.txt index 179ef7e..2bd5846 100644 --- a/backend/server/requirements.txt +++ b/backend/server/requirements.txt @@ -10,5 +10,4 @@ python-dotenv psycopg2-binary Pillow whitenoise -django-resized -django-apscheduler \ No newline at end of file +django-resized \ No newline at end of file