1 MEDIA_ROOT = path.join(PROJECT_DIR, 'media/')
3 STATIC_ROOT = path.join(PROJECT_DIR, 'static/')
4 STATIC_URL = '/static/'
6 STATICFILES_FINDERS = (
7 'django.contrib.staticfiles.finders.FileSystemFinder',
8 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
9 # 'django.contrib.staticfiles.finders.DefaultStorageFinder',
12 STATICFILES_STORAGE = 'fnpdjango.utils.pipeline_storage.GzipPipelineCachedStorage'
13 PIPELINE_CSS_COMPRESSOR = None
14 PIPELINE_JS_COMPRESSOR = None
30 #'fnpdjango/annoy/annoy.css',
32 'output_filename': 'compressed/base.css',
36 'questions/tagcloud.scss',
38 'output_filename': 'compressed/questions.css'
46 #'fnpdjango/annoy/annoy.js',
48 'output_filename': 'compressed/base.js',
52 'questions/tagcloud.js',
54 'output_filename': 'compressed/questions.js'
58 PIPELINE_COMPILERS = (
59 'pipeline.compilers.sass.SASSCompiler',
62 PIPELINE_STORAGE = 'pipeline.storage.PipelineFinderStorage'