1 # -*- coding: utf-8 -*-
4 from .paths import PROJECT_DIR
6 MEDIA_ROOT = os.path.join(PROJECT_DIR, 'media/')
8 STATIC_ROOT = os.path.join(PROJECT_DIR, 'static/')
9 STATIC_URL = '/static/'
11 STATICFILES_FINDERS = (
12 'django.contrib.staticfiles.finders.FileSystemFinder',
13 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
14 # 'django.contrib.staticfiles.finders.DefaultStorageFinder',
17 STATICFILES_STORAGE = 'fnpdjango.utils.pipeline_storage.GzipPipelineCachedStorage'
18 PIPELINE_CSS_COMPRESSOR = None
19 PIPELINE_JS_COMPRESSOR = None
26 'catalogue/css/carousel.scss',
27 'catalogue/css/layout.scss',
28 'catalogue/css/lesson.scss',
29 'catalogue/css/exercise.scss',
30 'catalogue/css/section_list.scss',
31 'curriculum/curriculum.scss',
32 'jquery/colorbox/colorbox.css',
33 'fnpdjango/annoy/annoy.css',
38 'output_filename': 'compressed/base.css',
44 'catalogue/js/jquery-ui-1.10.0.custom.js',
45 'catalogue/js/jquery.cycle.all.js',
46 'jquery/colorbox/jquery.colorbox-min.js',
47 'jquery/colorbox/jquery.colorbox-pl.js',
48 'catalogue/js/carousel.js',
49 'catalogue/js/edumed.js',
50 'catalogue/js/lesson.js',
51 'catalogue/js/lesson-list.js',
52 'sponsors/js/sponsors.js',
53 'curriculum/curriculum.js',
56 'fnpdjango/annoy/annoy.js',
59 'output_filename': 'compressed/base.js',
63 'catalogue/js/jquery-ui-1.10.0.custom.js',
68 'output_filename': 'compressed/wtem.js'
72 PIPELINE_COMPILERS = (
73 'pipeline.compilers.sass.SASSCompiler',