mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-22 06:19:38 +02:00
Fully remove cron jobs for new system
This commit is contained in:
parent
528811d0d3
commit
283431085f
2 changed files with 2 additions and 8 deletions
|
@ -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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue