def decorated(request, *args, **kwargs):\r
context = func(request, *args, **kwargs)\r
\r
+ if isinstance(context, HttpResponse):\r
+ return context\r
+\r
if tab is not None:\r
context['tab'] = tab\r
\r
def decorated(request, *args, **kwargs):\r
context = func(request, *args, **kwargs)\r
\r
+ if isinstance(context, HttpResponse):\r
+ return context\r
+\r
pagesize = request.utils.page_size(default_page_size)\r
page = int(request.GET.get('page', 1))\r
\r