fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wydzielenie funkcji guess_mime z VersionedStorage.page_mime, żeby można było ją łatwo...
[redakcja.git]
/
platforma
/
settings.py
diff --git
a/platforma/settings.py
b/platforma/settings.py
old mode 100644
(file)
new mode 100755
(executable)
index
87868ce
..
cbfd70f
--- a/
platforma/settings.py
+++ b/
platforma/settings.py
@@
-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'