Commit 83ea9afd authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'test'

fix code

See merge request !288
parents 264b8bd2 689498c1
......@@ -174,7 +174,7 @@ class ReplyManageCreateView(APIView):
}
class ReplyBatchUpdate(APIView):
class ReplyManageBatchUpdate(APIView):
def post(self, request):
ids = json.loads(request.POST.get('ids', '[]'))
......
......@@ -221,9 +221,9 @@ urlpatterns = [
url(r'^reply/vote$', ReplyVote.as_view()),
# 评论管理
url(r'^reply/manage/list$', ReplyListView.as_view()),
url(r'^reply/manage/create$', ReplyCreateView.as_view()),
url(r'^reply/manage/batch/update$', ReplyBatchUpdate.as_view()),
url(r'^reply/manage/list$', ReplyManageListView.as_view()),
url(r'^reply/manage/create$', ReplyManageCreateView.as_view()),
url(r'^reply/manage/batch/update$', ReplyManageBatchUpdate.as_view()),
]
search_urlpatterns = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment