'has_next': page_obj.has_next(),\r
'previous': page_obj.previous_page_number(),\r
'next': page_obj.next_page_number(),\r
- 'base_url' : "%s%ssort=%s" % (base_path, ('?' in base_path) and '&' or '?', sort),\r
+ 'base_url' : "%s%ssort=%s&" % (base_path, ('?' in base_path) and '&' or '?', sort),\r
'pagesize' : pagesize\r
}\r
\r
response = func(request, *args, **kwargs)\r
response['success'] = True\r
except Exception, e:\r
- import sys, traceback\r
- traceback.print_exc(file=sys.stdout)\r
+ #import sys, traceback\r
+ #traceback.print_exc(file=sys.stdout)\r
\r
response = {\r
'success': False,\r