X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d05a1d784f2f0dbad6839c672cae8226d1b0fa9d..88d1651a8ef2ff5e669ab2799fd2d01bbe0f664e:/apps/wiki/views.py diff --git a/apps/wiki/views.py b/apps/wiki/views.py index 0356d509..4b825e5e 100644 --- a/apps/wiki/views.py +++ b/apps/wiki/views.py @@ -202,12 +202,12 @@ def gallery(request, directory): try: base_url = ''.join(( smart_unicode(settings.MEDIA_URL), - smart_unicode(settings.FILEBROWSER_DIRECTORY), + smart_unicode(settings.IMAGE_DIR), smart_unicode(directory))) base_dir = os.path.join( smart_unicode(settings.MEDIA_ROOT), - smart_unicode(settings.FILEBROWSER_DIRECTORY), + smart_unicode(settings.IMAGE_DIR), smart_unicode(directory)) def map_to_url(filename):