Commit 04d4b1a8 authored by 杨成林's avatar 杨成林

Merge branch 'ycl/fix' into 'test'

fix

See merge request alpha/sun!251
parents 48a5a8f6 c0502206
......@@ -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