Commit 3b258018 by Carson Gee

Merge pull request #3615 from jazkarta/devstack-local-filestorage

Use local storage instead of S3 for uploads in devstack.
parents 2549551e db8b33d0
...@@ -4,6 +4,10 @@ Specific overrides to the base prod settings to make development easier. ...@@ -4,6 +4,10 @@ Specific overrides to the base prod settings to make development easier.
from .aws import * # pylint: disable=wildcard-import, unused-wildcard-import from .aws import * # pylint: disable=wildcard-import, unused-wildcard-import
# Don't use S3 in devstack, fall back to filesystem
del DEFAULT_FILE_STORAGE
MEDIA_ROOT = "/edx/var/edxapp/uploads"
DEBUG = True DEBUG = True
USE_I18N = True USE_I18N = True
TEMPLATE_DEBUG = DEBUG TEMPLATE_DEBUG = DEBUG
......
...@@ -4,6 +4,11 @@ Specific overrides to the base prod settings to make development easier. ...@@ -4,6 +4,11 @@ Specific overrides to the base prod settings to make development easier.
from .aws import * # pylint: disable=wildcard-import, unused-wildcard-import from .aws import * # pylint: disable=wildcard-import, unused-wildcard-import
# Don't use S3 in devstack, fall back to filesystem
del DEFAULT_FILE_STORAGE
MEDIA_ROOT = "/edx/var/edxapp/uploads"
DEBUG = True DEBUG = True
USE_I18N = True USE_I18N = True
TEMPLATE_DEBUG = True TEMPLATE_DEBUG = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment