File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 15
15
}
16
16
17
17
# django-storages: S3
18
- DEFAULT_FILE_STORAGE = ' storages.backends.s3boto3.S3Boto3Storage'
19
- STATICFILES_STORAGE = ' storages.backends.s3boto3.S3StaticStorage'
18
+ DEFAULT_FILE_STORAGE = " storages.backends.s3boto3.S3Boto3Storage"
19
+ STATICFILES_STORAGE = " storages.backends.s3boto3.S3StaticStorage"
20
20
AWS_S3_ACCESS_KEY_ID = os .getenv ("AWS_S3_ACCESS_KEY_ID" )
21
21
AWS_S3_SECRET_ACCESS_KEY = os .getenv ("AWS_S3_SECRET_ACCESS_KEY" )
22
22
AWS_STORAGE_BUCKET_NAME = "pyconkr-api-v2-static-dev"
Original file line number Diff line number Diff line change 15
15
}
16
16
17
17
# django-storages: S3
18
- DEFAULT_FILE_STORAGE = ' storages.backends.s3boto3.S3Boto3Storage'
19
- STATICFILES_STORAGE = ' storages.backends.s3boto3.S3StaticStorage'
18
+ DEFAULT_FILE_STORAGE = " storages.backends.s3boto3.S3Boto3Storage"
19
+ STATICFILES_STORAGE = " storages.backends.s3boto3.S3StaticStorage"
20
20
AWS_S3_ACCESS_KEY_ID = os .getenv ("AWS_S3_ACCESS_KEY_ID" )
21
21
AWS_S3_SECRET_ACCESS_KEY = os .getenv ("AWS_S3_SECRET_ACCESS_KEY" )
22
22
AWS_STORAGE_BUCKET_NAME = "pyconkr-api-v2-static"
Original file line number Diff line number Diff line change 37
37
"django.contrib.sessions" ,
38
38
"django.contrib.messages" ,
39
39
"django.contrib.staticfiles" ,
40
-
41
40
# djangorestframework
42
41
"rest_framework" ,
43
42
]
Original file line number Diff line number Diff line change 17
17
from django .urls import path , include
18
18
19
19
urlpatterns = [
20
- path (' api-auth/' , include (' rest_framework.urls' )),
20
+ path (" api-auth/" , include (" rest_framework.urls" )),
21
21
path ("admin/" , admin .site .urls ),
22
22
]
You can’t perform that action at this time.
0 commit comments