fnp
/
django-cas-provider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'elep'
[django-cas-provider.git]
/
cas_provider
/
__init__.py
diff --git
a/cas_provider/__init__.py
b/cas_provider/__init__.py
index
91b3b2c
..
ff16364
100644
(file)
--- a/
cas_provider/__init__.py
+++ b/
cas_provider/__init__.py
@@
-1,13
+1,16
@@
+from __future__ import unicode_literals
+
from django.conf import settings
__all__ = []
_DEFAULTS = {
'CAS_TICKET_EXPIRATION': 5, # In minutes
from django.conf import settings
__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.ite
rite
ms():
+for key, value in _DEFAULTS.items():
try:
getattr(settings, key)
except AttributeError:
try:
getattr(settings, key)
except AttributeError: