erreur 500 avec les variables d'environnement de production
bonjour j'ai un problème avec heroku quand je change les variables aux variables de production j'ai une erreur (500) les variables sont:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
DEBUG = False
.
.
.
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
STATIC_ROOT = os.path.join(PROJECT_ROOT, 'staticfiles')
STATICFILES_DIRS = (
os.path.join(PROJECT_ROOT, 'static'),
)
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
db_from_env = dj_database_url.config(conn_max_age=500)
DATABASES['default'].update(db_from_env) |
plus 9 variable de sécurité