X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/01d49f9626a49b19ff65db34ce9746ef543b9a32..ad9181d5de95c8dd356f6e2687769c970ceff9f9:/prawokultury/settings.d/50-contrib.py diff --git a/prawokultury/settings.d/50-contrib.py b/prawokultury/settings.d/50-contrib.py index 5e34fe8..96107be 100644 --- a/prawokultury/settings.d/50-contrib.py +++ b/prawokultury/settings.d/50-contrib.py @@ -13,8 +13,11 @@ THUMBNAIL_QUALITY = 95 GRAVATAR_DEFAULT_IMAGE = 'http://localhost:8000/static/img/avatar.png' -CAS_SERVER_URL = 'http://logowanie.nowoczesnapolska.org.pl/cas/' -CAS_VERSION = '3' +CAS_SERVER_URL = 'https://logowanie.nowoczesnapolska.org.pl/cas/' +CAS_VERSION = '2' +CAS_APPLY_ATTRIBUTES_TO_USER = True +CAS_RENAME_ATTRIBUTES = { + 'email': 'email', 'firstname': 'first_name', 'lastname': 'last_name'} HONEYPOT_FIELD_NAME='miut' @@ -34,9 +37,3 @@ CELERY_EAGER_PROPAGATES_EXCEPTIONS = True CELERY_SEND_TASK_ERROR_EMAILS = True CELERY_TASK_SERIALIZER = 'json' CELERY_ACCEPT_CONTENT = ['json'] - -SOUTH_MIGRATION_MODULES = { - 'getpaid' : 'prawokultury.migrations_contrib.getpaid', - 'payu': 'prawokultury.migrations_contrib.getpaid_payu', - 'taggit': 'taggit.south_migrations', -}