X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5b0e8d6e5b9df563591035dc968e0f14c6daaa07..8b70aa73fd8c978601404f2feab6742517cad203:/settings.py diff --git a/settings.py b/settings.py index 83505ea21..788e33e96 100644 --- a/settings.py +++ b/settings.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # Django settings for wolnelektury project. from os import path @@ -43,12 +44,12 @@ MEDIA_ROOT = PROJECT_DIR + '/media/' # URL that handles the media served from MEDIA_ROOT. Make sure to use a # trailing slash if there is a path component (optional in other cases). # Examples: "http://media.lawrence.com", "http://example.com/media/" -MEDIA_URL = 'http://localhost:8000/pliki/' +MEDIA_URL = 'http://localhost:8000/media/' # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a # trailing slash. # Examples: "http://foo.com/media/", "/media/". -ADMIN_MEDIA_PREFIX = '/media/' +ADMIN_MEDIA_PREFIX = '/admin-media/' # Make this unique, and don't share it with anybody. @@ -96,7 +97,7 @@ COMPRESS_CSS = { COMPRESS_JS = { 'all': { 'source_filenames': ('js/jquery.js', 'js/jquery.autocolumn.js', 'js/jquery.autocomplete.js', - 'js/jquery.form.js', 'js/jquery.jqmodal.js', 'js/jquery.labelify.js',), + 'js/jquery.form.js', 'js/jquery.jqmodal.js', 'js/jquery.labelify.js', 'js/catalogue.js',), 'output_filename': 'js/all.min.js', } }