From 95d7d2c185aed481717d333e386dc0afc8465e19 Mon Sep 17 00:00:00 2001 From: deyk Date: Wed, 11 Apr 2012 14:51:54 -0700 Subject: [PATCH] Moved `merge` argument into `**kwargs`. --- cas_provider/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cas_provider/views.py b/cas_provider/views.py index fdae99f..675150b 100644 --- a/cas_provider/views.py +++ b/cas_provider/views.py @@ -26,7 +26,8 @@ def _build_service_url(service, 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) -- 2.20.1