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:
Roman Rader 2014-01-12 20:05:13 +02:00
parent 12890d890f
commit 340edd0b7f
1 changed files with 1 additions and 1 deletions

View File

@ -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