X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/bd743f7ae0f46d0d2a68f80e3c3cf14313d61aa3..7edcc61e9599f75b6ce89c75a99ce1f7724499b9:/redakcja/settings/common.py diff --git a/redakcja/settings/common.py b/redakcja/settings/common.py index 5a337fb0..ec4ff7af 100644 --- a/redakcja/settings/common.py +++ b/redakcja/settings/common.py @@ -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/' @@ -134,6 +139,8 @@ FILEBROWSER_VERSIONS_BASEDIR = 'thumbnails/' FILEBROWSER_DEFAULT_ORDER = "path_relative" # REPOSITORY_PATH = '/Users/zuber/Projekty/platforma/files/books' + +# Must match FILEBROWSER_DIRECTORY IMAGE_DIR = 'images'