Skip to content

Commit 41391cd

Browse files
committed
being specific with imports
1 parent 02112a8 commit 41391cd

File tree

1 file changed

+3
-3
lines changed
  • museum_of_dreams_project/settings

1 file changed

+3
-3
lines changed

museum_of_dreams_project/settings/aws.py

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

44

55
SECRET_KEY = os.environ.get("SECRET_KEY")
@@ -30,8 +30,8 @@
3030
AWS_QUERYSTRING_AUTH = False # needed by grappelli to work with s3
3131

3232

33-
DEFAULT_FILE_STORAGE = "static.MediaStorage"
34-
STATICFILES_STORAGE = "static.StaticStorage"
33+
DEFAULT_FILE_STORAGE = "MediaStorage"
34+
STATICFILES_STORAGE = "StaticStorage"
3535

3636
AWS_ACCESS_KEY_ID = os.environ["AWS_ACCESS_KEY_ID"]
3737
AWS_SECRET_ACCESS_KEY = os.environ["AWS_SECRET_ACCESS_KEY"]

0 commit comments

Comments
 (0)