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.pipeline_storage.GzipPipelineCachedStorage'
25 'jquery/colorbox/colorbox.css',
26 'fnpdjango/annoy/annoy.css',
28 'output_filename': 'compressed/base.css',
34 'jquery/cycle/jquery.cycle.all.js',
35 'jquery/colorbox/jquery.colorbox-min.js',
36 'jquery/colorbox/jquery.colorbox-pl.js',
38 'sponsors/js/sponsors.js',
39 'fnpdjango/annoy/annoy.js',
41 'output_filename': 'compressed/base.js',
44 'CSS_COMPRESSOR': None,
45 'JS_COMPRESSOR': None,
47 'pipeline.compilers.sass.SASSCompiler',