Commit 42e8e306 by Chris Rossi

Use local storage instead of S3 for uploads in devstack.

parent 2549551e
...@@ -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/app/edxapp/media"
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/app/edxapp/media"
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