'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
+ 'admin_numeric_filter',
'django.contrib.admin',
'django.contrib.admindocs',
'bootstrap4',
'catalogue',
+ 'documents',
'cover',
'dvcs',
'wiki',
'toolbar',
'apiclient',
'email_mangler',
+ 'wlxml.apps.WlxmlConfig',
)
if DEBUG:
INSTALLED_APPS += ('debug_toolbar',)
+LOCALE_PATHS = [
+ PROJECT_ROOT + "/locale-contrib",
+]
+
LOGIN_REDIRECT_URL = '/documents/user'
MIN_COVER_SIZE = (915, 1270)
'pipeline.finders.PipelineFinder',
)
-STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage'
+STATICFILES_STORAGE = 'pipeline.storage.PipelineManifestStorage'
PIPELINE = {
'CSS_COMPRESSOR': None,
'JS_COMPRESSOR': None,
'COMPILERS': (
- 'libsasscompiler.LibSassCompiler',
+ 'pipeline.compilers.sass.SASSCompiler',
),
# CSS and JS files to compress
'css/gallery.css',
'css/history.css',
'css/summary.css',
- 'css/html.css',
+ 'css/html.scss',
'css/imgareaselect-default.css',
'css/dialogs.css',
),
'output_filename': 'compressed/detail_styles.css',
},
- 'catalogue': {
+ 'documents': {
'source_filenames': (
'css/filelist.css',
),
- 'output_filename': 'compressed/catalogue_styles.css',
+ 'output_filename': 'compressed/documents_styles.css',
},
'book': {
'source_filenames': (
'js/slugify.js',
# wiki scripts
+ 'js/wiki/caret.js',
'js/wiki/wikiapi.js',
'wiki/js/themes.js',
'js/wiki/xslt.js',
'js/wiki/view_editor_wysiwyg.js',
'js/wiki/view_gallery.js',
'js/wiki/view_annotations.js',
+ 'js/wiki/view_properties.js',
'js/wiki/view_search.js',
'js/wiki/view_column_diff.js',
),
),
'output_filename': 'compressed/detail_img_scripts.js',
},
- 'catalogue': {
+ 'documents': {
'source_filenames': (
- 'js/catalogue/catalogue.js',
+ 'js/documents/documents.js',
'js/slugify.js',
'email_mangler/email_mangler.js',
),
- 'output_filename': 'compressed/catalogue_scripts.js',
+ 'output_filename': 'compressed/documents_scripts.js',
},
'book': {
'source_filenames': (
+ 'js/lib/jquery/jquery.cycle2.min.js',
'js/book_text/jquery.eventdelegation.js',
'js/book_text/jquery.scrollto.js',
'js/book_text/jquery.highlightfade.js',
},
'book_list': {
'source_filenames': (
- 'js/catalogue/book_list.js',
+ 'js/documents/book_list.js',
),
'output_filename': 'compressed/book_list.js',
}