Skip to content

Commit 7d743fc

Browse files
committed
changing path for import
1 parent 20986e3 commit 7d743fc

File tree

1 file changed

+3
-2
lines changed
  • museum_of_dreams_project/settings

1 file changed

+3
-2
lines changed

museum_of_dreams_project/settings/aws.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from .base import *
2+
from . import static as static
23

34

45
SECRET_KEY = os.environ.get("SECRET_KEY")
@@ -29,8 +30,8 @@
2930
AWS_QUERYSTRING_AUTH = False # needed by grappelli to work with s3
3031

3132

32-
DEFAULT_FILE_STORAGE = "settings.static.MediaStorage"
33-
STATICFILES_STORAGE = "settings.static.StaticStorage"
33+
DEFAULT_FILE_STORAGE = "static.MediaStorage"
34+
STATICFILES_STORAGE = "static.StaticStorage"
3435

3536
AWS_ACCESS_KEY_ID = os.environ["AWS_ACCESS_KEY_ID"]
3637
AWS_SECRET_ACCESS_KEY = os.environ["AWS_SECRET_ACCESS_KEY"]

0 commit comments

Comments
 (0)