fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Edit attributes in wysiwyg editor
[redakcja.git]
/
redakcja
/
settings
/
common.py
diff --git
a/redakcja/settings/common.py
b/redakcja/settings/common.py
index
5414246
..
ec4ff7a
100644
(file)
--- a/
redakcja/settings/common.py
+++ b/
redakcja/settings/common.py
@@
-118,14
+118,19
@@
INSTALLED_APPS = (
'djkombu',
'catalogue',
'djkombu',
'catalogue',
+ 'cover',
'dvcs',
'wiki',
'toolbar',
'apiclient',
'dvcs',
'wiki',
'toolbar',
'apiclient',
+ 'email_mangler',
)
LOGIN_REDIRECT_URL = '/documents/user'
)
LOGIN_REDIRECT_URL = '/documents/user'
+CAS_USER_ATTRS_MAP = {
+ 'email': 'email', 'firstname': 'first_name', 'lastname': 'last_name'}
+
FILEBROWSER_URL_FILEBROWSER_MEDIA = STATIC_URL + 'filebrowser/'
FILEBROWSER_DIRECTORY = 'images/'
FILEBROWSER_URL_FILEBROWSER_MEDIA = STATIC_URL + 'filebrowser/'
FILEBROWSER_DIRECTORY = 'images/'
@@
-134,13
+139,20
@@
FILEBROWSER_VERSIONS_BASEDIR = 'thumbnails/'
FILEBROWSER_DEFAULT_ORDER = "path_relative"
# REPOSITORY_PATH = '/Users/zuber/Projekty/platforma/files/books'
FILEBROWSER_DEFAULT_ORDER = "path_relative"
# REPOSITORY_PATH = '/Users/zuber/Projekty/platforma/files/books'
+
+# Must match FILEBROWSER_DIRECTORY
IMAGE_DIR = 'images'
import djcelery
djcelery.setup_loader()
IMAGE_DIR = 'images'
import djcelery
djcelery.setup_loader()
-
+BROKER_BACKEND = "djkombu.transport.DatabaseTransport"
+BROKER_HOST = "localhost"
+BROKER_PORT = 5672
+BROKER_USER = "guest"
+BROKER_PASSWORD = "guest"
+BROKER_VHOST = "/"
SHOW_APP_VERSION = False
SHOW_APP_VERSION = False