diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/widgets.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/widgets.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py index 2adf574783..eb2914d87c 100644 --- a/bitbake/lib/toaster/toastergui/widgets.py +++ b/bitbake/lib/toaster/toastergui/widgets.py | |||
@@ -334,6 +334,9 @@ class ToasterTemplateView(TemplateView): | |||
334 | # renders a instance in a template, or returns the context as json | 334 | # renders a instance in a template, or returns the context as json |
335 | # the class-equivalent of the _template_renderer decorator for views | 335 | # the class-equivalent of the _template_renderer decorator for views |
336 | 336 | ||
337 | def __init__(self, *args, **kwargs): | ||
338 | super(ToasterTemplateView, self).__init__(*args, **kwargs) | ||
339 | self.context_entries = [] | ||
337 | 340 | ||
338 | def get(self, *args, **kwargs): | 341 | def get(self, *args, **kwargs): |
339 | if self.request.GET.get('format', None) == 'json': | 342 | if self.request.GET.get('format', None) == 'json': |