修改账户系统以及部分用户权限写法

增加部分测试和注释,完善国际化
This commit is contained in:
virusdefender
2016-06-23 12:19:16 +08:00
parent 61fe5675e0
commit eb02a00859
13 changed files with 555 additions and 204 deletions

View File

@@ -81,7 +81,7 @@ def paginate_data(request, query_set, object_serializer):
"previous_page": None,
"next_page": None,
"page_size": page_size,
"current_page": page,
"current_page": int(page),
"count": paginator.count,
"total_page": paginator.num_pages}