X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/891b9e3b7ecaedc9ac32bc941400a267c77482a0..48921dc56d36a657091081cd15b60de84bcfcf61:/wolnelektury/settings.py diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index d40fd5532..0237281e7 100644 --- a/wolnelektury/settings.py +++ b/wolnelektury/settings.py @@ -130,6 +130,7 @@ INSTALLED_APPS = [ 'api', 'rosetta', 'infopages', + 'suggest', ] CACHE_BACKEND = 'locmem:///?max_entries=3000' @@ -154,11 +155,11 @@ COMPRESS_JS = { 'all': { 'source_filenames': ('js/jquery.autocomplete.js', 'js/jquery.form.js', 'js/jquery.countdown.js', 'js/jquery.countdown-pl.js', - 'js/jquery.countdown-de.js', + 'js/jquery.countdown-de.js', 'js/jquery.countdown-uk.js', 'js/jquery.countdown-es.js', 'js/jquery.countdown-lt.js', 'js/jquery.countdown-ru.js', 'js/jquery.countdown-fr.js', 'js/jquery.jqmodal.js', 'js/jquery.labelify.js', 'js/catalogue.js', - 'js/jquery.cookie.js',), + ), 'output_filename': 'js/all?.min.js', }, 'book': { @@ -185,6 +186,9 @@ THUMBNAIL_PROCESSORS = ( TRANSLATION_REGISTRY = "wolnelektury.translation" +# limit number of filtering tags +MAX_TAG_LIST = 6 + # Load localsettings, if they exist try: from localsettings import *