Upgrade to django-pipeline v.1.5.3.
TNL-3137
This commit is contained in:
@@ -127,3 +127,7 @@ YOUTUBE['TEXT_API']['url'] = "127.0.0.1:{0}/test_transcripts_youtube/".format(YO
|
||||
# Generate a random UUID so that different runs of acceptance tests don't break each other
|
||||
import uuid
|
||||
SECRET_KEY = uuid.uuid4().hex
|
||||
|
||||
############################### PIPELINE #######################################
|
||||
|
||||
PIPELINE_ENABLED = False
|
||||
|
||||
@@ -458,6 +458,8 @@ EMBARGO_SITE_REDIRECT_URL = None
|
||||
|
||||
############################### PIPELINE #######################################
|
||||
|
||||
PIPELINE_ENABLED = True
|
||||
|
||||
# Process static files using RequireJS Optimizer
|
||||
STATICFILES_STORAGE = 'openedx.core.lib.django_require.staticstorage.OptimizedCachedRequireJsStorage'
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ FEATURES['PREVIEW_LMS_BASE'] = "preview." + LMS_BASE
|
||||
########################### PIPELINE #################################
|
||||
|
||||
# Skip packaging and optimization in development
|
||||
PIPELINE_ENABLED = False
|
||||
STATICFILES_STORAGE = 'pipeline.storage.NonPackagingPipelineStorage'
|
||||
|
||||
# Revert to the default set of finders as we don't want the production pipeline
|
||||
|
||||
@@ -92,7 +92,6 @@ STATICFILES_DIRS += [
|
||||
# http://stackoverflow.com/questions/12816941/unit-testing-with-django-pipeline
|
||||
STATICFILES_STORAGE = 'pipeline.storage.NonPackagingPipelineStorage'
|
||||
STATIC_URL = "/static/"
|
||||
PIPELINE_ENABLED = False
|
||||
|
||||
# Update module store settings per defaults for tests
|
||||
update_module_store_settings(
|
||||
|
||||
Reference in New Issue
Block a user