remove USE_CELERY setting,
[redakcja.git] / redakcja / settings / compress.py
1 # CSS and JS files to compress
2 COMPRESS_CSS = {
3     'detail': {
4          'source_filenames': (
5             'css/master.css',
6             'css/toolbar.css',
7             'css/gallery.css',
8             'css/history.css',
9             'css/summary.css',
10             'css/html.css',
11             'css/jquery.autocomplete.css',
12             'css/dialogs.css',
13         ),
14         'output_filename': 'compressed/detail_styles_?.css',
15     },
16     'catalogue': {
17         'source_filenames': (
18             'css/filelist.css',
19         ),
20         'output_filename': 'compressed/catalogue_styles_?.css',
21      }
22 }
23
24 COMPRESS_JS = {
25     # everything except codemirror
26     'detail': {
27         'source_filenames': (
28                 # libraries
29                 'js/lib/jquery/jquery.autocomplete.js',
30                 'js/lib/jquery/jquery.blockui.js',
31                 'js/lib/jquery/jquery.elastic.js',
32                 'js/lib/jquery/jquery.xmlns.js',
33                 'js/button_scripts.js',
34                 'js/slugify.js',
35
36                 # wiki scripts
37                 'js/wiki/wikiapi.js',
38                 'js/wiki/xslt.js',
39
40                 # base UI
41                 'js/wiki/base.js',
42                 'js/wiki/toolbar.js',
43
44                 # dialogs
45                 'js/wiki/dialog_save.js',
46                 'js/wiki/dialog_revert.js',
47                 'js/wiki/dialog_pubmark.js',
48
49                 # views
50                 'js/wiki/view_history.js',
51                 'js/wiki/view_summary.js',
52                 'js/wiki/view_editor_source.js',
53                 'js/wiki/view_editor_wysiwyg.js',
54                 'js/wiki/view_gallery.js',
55                 'js/wiki/view_annotations.js',
56                 'js/wiki/view_search.js',
57                 'js/wiki/view_column_diff.js',
58         ),
59         'output_filename': 'compressed/detail_scripts_?.js',
60      },
61     'catalogue': {
62         'source_filenames': (
63                 'js/catalogue/catalogue.js',
64                 'js/slugify.js',
65         ),
66         'output_filename': 'compressed/catalogue_scripts_?.js',
67      }
68 }
69
70 COMPRESS = True
71 COMPRESS_CSS_FILTERS = None
72 COMPRESS_JS_FILTERS = None
73 COMPRESS_AUTO = True
74 COMPRESS_VERSION = True
75 COMPRESS_VERSIONING = 'compress.versioning.hash.MD5Versioning'