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