Commit c0502206 authored by yangchenglin's avatar yangchenglin

fix

parent 48a5a8f6
......@@ -48,8 +48,7 @@ class TagUpdateOrCreateView(APIView):
return {'data': data}
def post(self, request):
import ipdb
ipdb.set_trace()
id = request.POST.get('id')
down_tags = list(set(map(lambda x: x.split(":")[0], json.loads((request.POST.get('down_tags', '[]'))))))
up_tags = list(set(map(lambda x: x.split(":")[0], json.loads((request.POST.get('up_tags', '[]'))))))
......
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