We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c29b6af commit 5a28b91Copy full SHA for 5a28b91
wsgi/openshift/settings.py
@@ -67,7 +67,7 @@
67
68
# Absolute filesystem path to the directory that will hold user-uploaded files.
69
# Example: "/home/media/media.lawrence.com/media/"
70
-MEDIA_ROOT = os.environ.get('OPENSHIFT_DATA', '')
+MEDIA_ROOT = os.environ.get('OPENSHIFT_DATA_DIR', '')
71
72
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
73
# trailing slash.
0 commit comments