X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2519a2081c61614723ca29c7401fd86533efc34c..8d490fc7810e0052bad3414b445b24276bbfca63:/platforma/settings.py diff --git a/platforma/settings.py b/platforma/settings.py index 87868ce3..29974faa 100644 --- a/platforma/settings.py +++ b/platforma/settings.py @@ -118,12 +118,19 @@ INSTALLED_APPS = ( 'django.contrib.admindocs', 'piston', + 'sorl.thumbnail', + 'filebrowser', 'explorer', 'toolbar', 'api', ) +FILEBROWSER_URL_FILEBROWSER_MEDIA = STATIC_URL + 'filebrowser/' +FILEBROWSER_DIRECTORY = 'images/' +FILEBROWSER_ADMIN_VERSIONS = [] +FILEBROWSER_VERSIONS_BASEDIR = 'thumbnails/' + # REPOSITORY_PATH = '/Users/zuber/Projekty/platforma/files/books' IMAGE_DIR = 'images' EDITOR_COOKIE_NAME = 'options'