Ustawianie galerii inline.
[redakcja.git] / platforma / settings.py
index 3a1f3ad..29974fa 100644 (file)
@@ -118,13 +118,19 @@ INSTALLED_APPS = (
     'django.contrib.admindocs',
 
     'piston',
+    'sorl.thumbnail',
+    'filebrowser',
     'explorer',
     'toolbar',
     'api',
-    'wysiwyg',
 )
 
 
+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'