| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| djangoapps | ||
| envs | ||
| lib | ||
| static | ||
| templates | ||
| README.rst | ||
| __init__.py | ||
| celery.py | ||
| startup.py | ||
| tests.py | ||
| urls.py | ||
| wsgi.py | ||
| wsgi_apache_lms.py |
Collectstatic failed in production when comprehensive theme contained custom css files. This patch fixes that problem by removing ComprehensiveThemeFinder from STATICFILES_FINDERS and ComprehensiveThemingAware mixin from STATICFILES_STORAGE. Comprehensive theme static dirs are added to the top of the STATICFILES_DIRS entry, which means that the default django FilesystemFinder will find theme static files, and since the theme folder is at the top of STATICFILES_DIRS, theme files will take precedence over default LMS/CMS static files. This change means that theme static file URLs are no longer prefixed with themes/<theme-name>/, but since we currently only support one comprehensive theme at a time, that shouldn't be a problem. If/when we want to make the choice of a theme dynamic per-request (microsites?), we will have to bring custom theme finders and storage mixins back, but for now, we don't need them.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| djangoapps | Loading commit data... | |
| envs | Loading commit data... | |
| lib | Loading commit data... | |
| static | Loading commit data... | |
| templates | Loading commit data... | |
| README.rst | Loading commit data... | |
| __init__.py | Loading commit data... | |
| celery.py | Loading commit data... | |
| startup.py | Loading commit data... | |
| tests.py | Loading commit data... | |
| urls.py | Loading commit data... | |
| wsgi.py | Loading commit data... | |
| wsgi_apache_lms.py | Loading commit data... |