Skip to content
Snippets Groups Projects
Commit 60079d8c authored by florimondmanca's avatar florimondmanca
Browse files

quick settings update

parent d04fe080
No related branches found
No related tags found
No related merge requests found
"""
Django settings for oser_backend project.
Base settings common to all environments.
Development settings used as a base for the production settings.
"""
import os
......
"""Production settings."""
import os
import django_heroku
......@@ -18,7 +20,7 @@ STATICFILES_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
# Credentials
AWS_ACCESS_KEY_ID = os.environ.get('AWS_ACCESS_KEY_ID')
AWS_SECRET_ACCESS_KEY = os.environ.get('AWS_SECRET_ACCESS_KEY')
AWS_STORAGE_BUCKET_NAME = 'oser_backend_files'
AWS_STORAGE_BUCKET_NAME = 'oser-backend-files'
AWS_S3_OBJECT_PARAMETERS = {
'CacheControl': 'max-age=86400',
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment