Skip to content

Commit aa4e17c

Browse files
committed
Convert custom_storages.py to a python module
1 parent 9a55dc4 commit aa4e17c

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

custom_storages/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from custom_storages.storage import (
2+
MediaStorage,
3+
PipelineManifestStorage,
4+
)
File renamed without changes.

pydotorg/settings/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
MEDIA_ROOT = os.path.join(BASE, 'media')
4747
MEDIA_URL = '/media/'
48+
MEDIAFILES_LOCATION = 'media'
4849

4950
# Absolute path to the directory static files should be collected to.
5051
# Don't put anything in this directory yourself; store your static files

0 commit comments

Comments
 (0)