1 from django.conf import settings
6 'CAS_TICKET_EXPIRATION': 5, # In minutes
7 'CAS_CUSTOM_ATTRIBUTES_FORMATER': 'cas_provider.attribute_formatters.jasig',
8 'CAS_AUTO_REDIRECT_AFTER_LOGOUT': False,
11 for key, value in _DEFAULTS.items():
13 getattr(settings, key)
14 except AttributeError:
15 setattr(settings, key, value)