1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 06:49:37 +02:00

Fully remove cron jobs for new system

This commit is contained in:
Sean Morley 2024-08-21 18:59:18 -04:00
parent 528811d0d3
commit 283431085f
2 changed files with 2 additions and 8 deletions

View file

@ -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

View file

@ -10,5 +10,4 @@ python-dotenv
psycopg2-binary psycopg2-binary
Pillow Pillow
whitenoise whitenoise
django-resized django-resized
django-apscheduler