Merge branch 'production' of github.com:fnp/redakcja into production
[redakcja.git] / redakcja / settings / common.py
index 5414246..f6b889d 100644 (file)
@@ -118,14 +118,19 @@ INSTALLED_APPS = (
     'djkombu',
 
     'catalogue',
+    'cover',
     'dvcs',
     'wiki',
     'toolbar',
     'apiclient',
+    'email_mangler',
 )
 
 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/'
@@ -139,8 +144,13 @@ 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