fnp
/
django-cas-provider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0b76f61
)
Moved `merge` argument into `**kwargs`.
author
deyk
<deyk@crossway.org>
Wed, 11 Apr 2012 21:51:54 +0000
(14:51 -0700)
committer
deyk
<deyk@crossway.org>
Wed, 11 Apr 2012 21:51:54 +0000
(14:51 -0700)
cas_provider/views.py
patch
|
blob
|
history
diff --git
a/cas_provider/views.py
b/cas_provider/views.py
index
fdae99f
..
675150b
100644
(file)
--- a/
cas_provider/views.py
+++ b/
cas_provider/views.py
@@
-26,7
+26,8
@@
def _build_service_url(service, ticket):
return service + '&ticket=' + ticket
return service + '&ticket=' + ticket
-def login(request, template_name='cas/login.html', success_redirect='/account/', merge=False):
+def login(request, template_name='cas/login.html', success_redirect='/account/', **kwargs):
+ merge = kwargs.get('merge', False)
logging.debug('CAS Provider Login view. Method is %s, merge is %s, template is %s.',
request.method, merge, template_name)
logging.debug('CAS Provider Login view. Method is %s, merge is %s, template is %s.',
request.method, merge, template_name)