openedx.core.djangoapps.staticfiles package#

Submodules#

openedx.core.djangoapps.staticfiles.apps module#

Configuration for static assets. Shared by LMS and CMS.

class openedx.core.djangoapps.staticfiles.apps.EdxPlatformStaticFilesConfig(app_name, app_module)#

Bases: StaticFilesConfig

A thin wrapper around the standard django.contrib.staticfiles app which adds the proper file & folder ignore patterns for edx-platform static asset collection.

This allows devs & operators to run:

./manage.py [lms|cms] collectstatic

instead of:

./manage.py [lms|cms] collectstatic –ignore geoip –ignore sass … etc.

ignore_patterns = ['CVS', '.*', '*~', 'geoip', 'sass', 'xmodule_js', 'fixtures', 'karma_*.js', 'spec', 'spec_helpers', 'spec-helpers']#

Module contents#