Passing stack_id argument to get_data view
Ignoring kwargs causes wrong key generation for cache (for memoization) and hence, causes repeated call of function with wrong arguments list. Change-Id: I85391f30fa81a27496b3399108b4859b2234591e Closes-Bug: #1268349
This commit is contained in:
parent
12890d890f
commit
340edd0b7f
|
@ -98,7 +98,7 @@ class DetailView(tabs.TabView):
|
|||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(DetailView, self).get_context_data(**kwargs)
|
||||
context["stack"] = self.get_data(self.request)
|
||||
context["stack"] = self.get_data(self.request, **kwargs)
|
||||
return context
|
||||
|
||||
@memoized.memoized_method
|
||||
|
|
Loading…
Reference in New Issue