diff options
Diffstat (limited to 'config/settings.py')
-rw-r--r-- | config/settings.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/config/settings.py b/config/settings.py index c7bef91..dcd14ee 100644 --- a/config/settings.py +++ b/config/settings.py @@ -24,9 +24,14 @@ DEBUG = config('DEBUG', cast=bool) AUTH_PROFILE_MODULE = "accounts.UserProfile" AUTH_USER_MODEL = "accounts.User" -DEFAULT_FILE_STORAGE = config('DEFAULT_FILE_STORAGE') INTERNAL_IPS = config('INTERNAL_IPS') + +DEFAULT_FILE_STORAGE = config('DEFAULT_FILE_STORAGE') +AWS_ACCESS_KEY_ID = config('AWS_ACCESS_KEY_ID') +AWS_SECRET_ACCESS_KEY = config('AWS_SECRET_ACCESS_KEY') +AWS_STORAGE_BUCKET_NAME = config('AWS_STORAGE_BUCKET_NAME') +AWS_DEFAULT_ACL = config('AWS_DEFAULT_ACL') AWS_S3_OBJECT_PARAMETERS = { 'CacheControl': 'max-age=86400', } @@ -65,7 +70,7 @@ THIRD_PARTY_APPS = [ 'taggit_serializer', 'django_extensions', 'rest_framework', - 'debug_toolbar' + #'debug_toolbar' ] LOCAL_APPS = [ 'utils', @@ -82,7 +87,7 @@ MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', - 'debug_toolbar.middleware.DebugToolbarMiddleware', + #'debug_toolbar.middleware.DebugToolbarMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', |