X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/bd743f7ae0f46d0d2a68f80e3c3cf14313d61aa3..daacf83adcf2305add277eae0081f59c4c1a7863:/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'