X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5b0e8d6e5b9df563591035dc968e0f14c6daaa07..ec67db714082fe010391b5c52da1702442ddd9e6:/settings.py diff --git a/settings.py b/settings.py index 83505ea21..8baaf69d1 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.