From a71584130976e3a7fbcab328d0a8ab33df82ac49 Mon Sep 17 00:00:00 2001 From: Ramast Magdy Date: Thu, 27 Feb 2014 18:38:20 +0545 Subject: [PATCH] TemplateView's get_context only accept kwargs! --- userena/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userena/views.py b/userena/views.py index 037517cf..116adf81 100644 --- a/userena/views.py +++ b/userena/views.py @@ -31,7 +31,7 @@ class ExtraContextTemplateView(TemplateView): extra_context = None def get_context_data(self, *args, **kwargs): - context = super(ExtraContextTemplateView, self).get_context_data(*args, **kwargs) + context = super(ExtraContextTemplateView, self).get_context_data(**kwargs) if self.extra_context: context.update(self.extra_context) return context