Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
40c5c477
Commit
40c5c477
authored
Apr 12, 2016
by
Matt Drayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Remove ThemingAware storage mixins and ComprehensiveThemeFinder."
This reverts commit
266f593d
.
parent
9a362d90
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
0 deletions
+7
-0
cms/envs/common.py
+1
-0
cms/envs/devstack.py
+1
-0
lms/envs/common.py
+1
-0
lms/envs/devstack.py
+1
-0
openedx/core/storage.py
+3
-0
No files found.
cms/envs/common.py
View file @
40c5c477
...
...
@@ -520,6 +520,7 @@ STATICFILES_STORAGE = 'openedx.core.storage.ProductionStorage'
# 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
=
[
'openedx.core.djangoapps.theming.finders.ComprehensiveThemeFinder'
,
'django.contrib.staticfiles.finders.FileSystemFinder'
,
'django.contrib.staticfiles.finders.AppDirectoriesFinder'
,
'pipeline.finders.PipelineFinder'
,
...
...
cms/envs/devstack.py
View file @
40c5c477
...
...
@@ -41,6 +41,7 @@ STATICFILES_STORAGE = 'openedx.core.storage.DevelopmentStorage'
# Revert to the default set of finders as we don't want the production pipeline
STATICFILES_FINDERS
=
[
'openedx.core.djangoapps.theming.finders.ComprehensiveThemeFinder'
,
'django.contrib.staticfiles.finders.FileSystemFinder'
,
'django.contrib.staticfiles.finders.AppDirectoriesFinder'
,
]
...
...
lms/envs/common.py
View file @
40c5c477
...
...
@@ -1178,6 +1178,7 @@ STATICFILES_STORAGE = 'openedx.core.storage.ProductionStorage'
# 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
=
[
'openedx.core.djangoapps.theming.finders.ComprehensiveThemeFinder'
,
'django.contrib.staticfiles.finders.FileSystemFinder'
,
'django.contrib.staticfiles.finders.AppDirectoriesFinder'
,
'pipeline.finders.PipelineFinder'
,
...
...
lms/envs/devstack.py
View file @
40c5c477
...
...
@@ -99,6 +99,7 @@ STATICFILES_STORAGE = 'openedx.core.storage.DevelopmentStorage'
# Revert to the default set of finders as we don't want the production pipeline
STATICFILES_FINDERS
=
[
'openedx.core.djangoapps.theming.finders.ComprehensiveThemeFinder'
,
'django.contrib.staticfiles.finders.FileSystemFinder'
,
'django.contrib.staticfiles.finders.AppDirectoriesFinder'
,
]
...
...
openedx/core/storage.py
View file @
40c5c477
...
...
@@ -4,9 +4,11 @@ Django storage backends for Open edX.
from
django.contrib.staticfiles.storage
import
StaticFilesStorage
,
CachedFilesMixin
from
pipeline.storage
import
PipelineMixin
,
NonPackagingMixin
from
require.storage
import
OptimizedFilesMixin
from
openedx.core.djangoapps.theming.storage
import
ComprehensiveThemingAwareMixin
class
ProductionStorage
(
ComprehensiveThemingAwareMixin
,
OptimizedFilesMixin
,
PipelineMixin
,
CachedFilesMixin
,
...
...
@@ -20,6 +22,7 @@ class ProductionStorage(
class
DevelopmentStorage
(
ComprehensiveThemingAwareMixin
,
NonPackagingMixin
,
PipelineMixin
,
StaticFilesStorage
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment