X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0e5e4a0d816add3c0c13559fbed4f79eb295baf8..e459e4567cc578abd5d7e02e70a01ec9464f474d:/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'