Skip to content

Commit 1662816

Browse files
committed
Convert custom_storages.py to a python module
1 parent f64c1d0 commit 1662816

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

custom_storages/__init__.py

+4
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

+1
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)