File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
# pylint: skip-file
2
-
3
- import sentry_sdk
4
- from sentry_sdk .integrations .celery import CeleryIntegration
5
- from sentry_sdk .integrations .django import DjangoIntegration
6
-
7
2
from .base import * # noqa
8
3
from .base import env
9
4
50
45
# https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#settings
51
46
AWS_ACCESS_KEY_ID = env ("DJANGO_AWS_ACCESS_KEY_ID" , default = None )
52
47
AWS_SECRET_ACCESS_KEY = env ("DJANGO_AWS_SECRET_ACCESS_KEY" , default = None )
53
- AWS_STORAGE_BUCKET_NAME = env ("DJANGO_AWS_STORAGE_BUCKET_NAME" )
48
+ AWS_STORAGE_BUCKET_NAME = env ("DJANGO_AWS_STORAGE_BUCKET_NAME" , default = "" )
54
49
55
50
# https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html#cloudfront
56
51
# AWS_S3_CUSTOM_DOMAIN = env("DJANGO_AWS_S3_CUSTOM_DOMAIN", default=None)
Original file line number Diff line number Diff line change 6
6
7
7
def main ():
8
8
"""Run administrative tasks."""
9
- os .environ .setdefault ('DJANGO_SETTINGS_MODULE' , 'core.settings' )
9
+ os .environ .setdefault ('DJANGO_SETTINGS_MODULE' , 'core.settings.local ' )
10
10
try :
11
11
from django .core .management import execute_from_command_line
12
12
except ImportError as exc :
You can’t perform that action at this time.
0 commit comments