Commit 689498c1 authored by haowang's avatar haowang

fix code

parent 264b8bd2
......@@ -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