X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/ce8d791a5298e0cb2569034aec4c8b57afac97b2..c076154f1220c417c4cd17d178d5f94c5c88d83b:/redakcja/settings/common.py?ds=inline 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'