750caf0011e9be9330985dbbda21b5d5a714d4bc
[edumed.git] / edumed / settings.d / 50-static.py
1 MEDIA_ROOT = path.join(PROJECT_DIR, 'media/')
2 MEDIA_URL = '/media/'
3 STATIC_ROOT = path.join(PROJECT_DIR, 'static/')
4 STATIC_URL = '/static/'
5
6 STATICFILES_FINDERS = (
7     'django.contrib.staticfiles.finders.FileSystemFinder',
8     'django.contrib.staticfiles.finders.AppDirectoriesFinder',
9 #    'django.contrib.staticfiles.finders.DefaultStorageFinder',
10 )
11
12 STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
13 PIPELINE_CSS_COMPRESSOR = None
14 PIPELINE_JS_COMPRESSOR = None
15 PIPELINE_CSS = {
16     'base': {
17         'source_filenames': (
18           'css/base.scss',
19           'css/main.scss',
20           'catalogue/css/carousel.scss',
21           'catalogue/css/layout.scss',
22           'catalogue/css/lesson.scss',
23           'catalogue/css/exercise.scss',
24           'catalogue/css/section_list.scss',
25           'curriculum/curriculum.scss',
26         ),
27         'output_filename': 'compressed/base.css',
28     },
29 }
30 PIPELINE_JS = {
31     'base': {
32         'source_filenames': (
33             'catalogue/js/jquery-ui-1.10.0.custom.js',
34             'catalogue/js/jquery.cycle.all.js',
35             'catalogue/js/edumed.js',
36             'catalogue/js/carousel.js',
37             'sponsors/js/sponsors.js',
38             'curriculum/curriculum.js',
39         ),
40         'output_filename': 'compressed/base.js',
41     },
42 }
43
44 PIPELINE_COMPILERS = (
45   'pipeline.compilers.sass.SASSCompiler',
46 )
47
48 PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage'