X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d95d8a5fe401479b8adaa10cb77012c130525efd..65c55a07a1ed0605f8059809281ca69320363964:/wolnelektury/settings.py diff --git a/wolnelektury/settings.py b/wolnelektury/settings.py index db1131aea..8a82221b9 100644 --- a/wolnelektury/settings.py +++ b/wolnelektury/settings.py @@ -33,7 +33,7 @@ LANGUAGE_CODE = 'pl' gettext = lambda s: s -LANGUAGES = ( +LANGUAGES = tuple(sorted([ ('pl', gettext('Polish')), ('de', gettext('German')), ('en', gettext('English')), @@ -42,7 +42,7 @@ LANGUAGES = ( ('ru', gettext('Russian')), ('es', gettext('Spanish')), ('uk', gettext('Ukrainian')), -) +], key=lambda x: x[0])) SITE_ID = 1 @@ -138,7 +138,7 @@ CACHE_BACKEND = 'locmem:///?max_entries=3000' # CSS and JavaScript file groups COMPRESS_CSS = { 'all': { - 'source_filenames': ('css/master.css', 'css/jquery.autocomplete.css', 'css/jquery.countdown.css', 'css/master.plain.css', 'css/sponsors.css',), + 'source_filenames': ('css/master.css', 'css/jquery.autocomplete.css', 'css/jquery.countdown.css', 'css/master.plain.css', 'css/sponsors.css', 'css/facelist_2-0.css',), 'output_filename': 'css/all.min?.css', }, 'book': { @@ -153,13 +153,13 @@ COMPRESS_JS = { 'output_filename': 'js/jquery.min.js', }, 'all': { - 'source_filenames': ('js/jquery.autocomplete.js', 'js/jquery.form.js', - 'js/jquery.countdown.js', 'js/jquery.countdown-pl.js', + '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-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': {