X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d05a1d784f2f0dbad6839c672cae8226d1b0fa9d..d8e53fe335668196d3f6ab72048f0cf01b2e2558:/apps/wiki/views.py?ds=sidebyside 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):