X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0e5e4a0d816add3c0c13559fbed4f79eb295baf8..8d490fc7810e0052bad3414b445b24276bbfca63:/platforma/settings.py?ds=sidebyside 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'