fnp
/
django-cas-provider.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
91b3b2cbb3368f5631961f99601d1d83323ea130
[django-cas-provider.git]
/
cas_provider
/
__init__.py
1
from django.conf import settings
2
3
__all__ = []
4
5
_DEFAULTS = {
6
'CAS_TICKET_EXPIRATION': 5, # In minutes
7
'CAS_CHECK_SERVICE': False,
8
}
9
10
for key, value in _DEFAULTS.iteritems():
11
try:
12
getattr(settings, key)
13
except AttributeError:
14
setattr(settings, key, value)
15
except ImportError:
16
pass