Dodanie PyYAML do requirements.txt (wymagane do zaƂadowania themes.yaml).
[redakcja.git] / platforma / settings.py
old mode 100644 (file)
new mode 100755 (executable)
index 87868ce..cbfd70f
@@ -118,12 +118,20 @@ INSTALLED_APPS = (
     'django.contrib.admindocs',
 
     'piston',
     'django.contrib.admindocs',
 
     'piston',
+    'sorl.thumbnail',
+    'filebrowser',
     'explorer',
     'toolbar',
     'explorer',
     'toolbar',
+    'bookthemes',
     'api',
 )
 
 
     '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'
 # REPOSITORY_PATH = '/Users/zuber/Projekty/platforma/files/books'
 IMAGE_DIR = 'images'
 EDITOR_COOKIE_NAME = 'options'