1 from __future__ import unicode_literals
3 from django.conf import settings
8 'CAS_TICKET_EXPIRATION': 5, # In minutes
9 'CAS_CUSTOM_ATTRIBUTES_FORMATER': 'cas_provider.attribute_formatters.jasig',
10 'CAS_AUTO_REDIRECT_AFTER_LOGOUT': False,
13 for key, value in _DEFAULTS.items():
15 getattr(settings, key)
16 except AttributeError:
17 setattr(settings, key, value)