X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/blobdiff_plain/73bfc6b53448f5f1d10d9b3f58f2cf4f3756be41..288b97cb037b17ccab0c9c11ec987ad124e350d1:/cas_provider/__init__.py?ds=sidebyside diff --git a/cas_provider/__init__.py b/cas_provider/__init__.py index 91b3b2c..22cedc3 100644 --- a/cas_provider/__init__.py +++ b/cas_provider/__init__.py @@ -4,10 +4,11 @@ __all__ = [] _DEFAULTS = { 'CAS_TICKET_EXPIRATION': 5, # In minutes - 'CAS_CHECK_SERVICE': False, + 'CAS_CUSTOM_ATTRIBUTES_FORMATER': 'cas_provider.attribute_formatters.jasig', + 'CAS_AUTO_REDIRECT_AFTER_LOGOUT': False, } -for key, value in _DEFAULTS.iteritems(): +for key, value in _DEFAULTS.items(): try: getattr(settings, key) except AttributeError: