Merge pull request #9803 from edx/usman/use-included-staticfiles-app
Upgrade django-pipeline and staticfiles
This commit is contained in:
@@ -456,14 +456,16 @@ EMBARGO_SITE_REDIRECT_URL = None
|
||||
|
||||
############################### PIPELINE #######################################
|
||||
|
||||
PIPELINE_ENABLED = True
|
||||
|
||||
# Process static files using RequireJS Optimizer
|
||||
STATICFILES_STORAGE = 'openedx.core.lib.django_require.staticstorage.OptimizedCachedRequireJsStorage'
|
||||
|
||||
# List of finder classes that know how to find static files in various locations.
|
||||
# Note: the pipeline finder is included to be able to discover optimized files
|
||||
STATICFILES_FINDERS = [
|
||||
'staticfiles.finders.FileSystemFinder',
|
||||
'staticfiles.finders.AppDirectoriesFinder',
|
||||
'django.contrib.staticfiles.finders.FileSystemFinder',
|
||||
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
||||
'pipeline.finders.PipelineFinder',
|
||||
]
|
||||
|
||||
@@ -738,7 +740,7 @@ INSTALLED_APPS = (
|
||||
# For asset pipelining
|
||||
'edxmako',
|
||||
'pipeline',
|
||||
'staticfiles',
|
||||
'django.contrib.staticfiles',
|
||||
'static_replace',
|
||||
'require',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user