diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/widgets.py')
-rw-r--r-- | bitbake/lib/toaster/toastergui/widgets.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/widgets.py b/bitbake/lib/toaster/toastergui/widgets.py index 6e87285c8c..b32abf40b3 100644 --- a/bitbake/lib/toaster/toastergui/widgets.py +++ b/bitbake/lib/toaster/toastergui/widgets.py | |||
@@ -32,6 +32,7 @@ import re | |||
32 | import os | 32 | import os |
33 | 33 | ||
34 | from toastergui.tablefilter import TableFilterMap | 34 | from toastergui.tablefilter import TableFilterMap |
35 | from toastermain.logs import log_view_mixin | ||
35 | 36 | ||
36 | try: | 37 | try: |
37 | from urllib import unquote_plus | 38 | from urllib import unquote_plus |
@@ -84,6 +85,7 @@ class ToasterTable(TemplateView): | |||
84 | 85 | ||
85 | return context | 86 | return context |
86 | 87 | ||
88 | @log_view_mixin | ||
87 | def get(self, request, *args, **kwargs): | 89 | def get(self, request, *args, **kwargs): |
88 | if request.GET.get('format', None) == 'json': | 90 | if request.GET.get('format', None) == 'json': |
89 | 91 | ||
@@ -415,6 +417,7 @@ class ToasterTypeAhead(View): | |||
415 | def __init__(self, *args, **kwargs): | 417 | def __init__(self, *args, **kwargs): |
416 | super(ToasterTypeAhead, self).__init__() | 418 | super(ToasterTypeAhead, self).__init__() |
417 | 419 | ||
420 | @log_view_mixin | ||
418 | def get(self, request, *args, **kwargs): | 421 | def get(self, request, *args, **kwargs): |
419 | def response(data): | 422 | def response(data): |
420 | return HttpResponse(json.dumps(data, | 423 | return HttpResponse(json.dumps(data, |
@@ -470,6 +473,7 @@ class MostRecentBuildsView(View): | |||
470 | 473 | ||
471 | return False | 474 | return False |
472 | 475 | ||
476 | @log_view_mixin | ||
473 | def get(self, request, *args, **kwargs): | 477 | def get(self, request, *args, **kwargs): |
474 | """ | 478 | """ |
475 | Returns a list of builds in JSON format. | 479 | Returns a list of builds in JSON format. |