Commit 266cb0b3 authored by 王浩's avatar 王浩

Merge branch 'test' into 'master'

Alpha 1.7

See merge request alpha/sun!190
parents 8a19859e d21e7c3d
......@@ -61,6 +61,7 @@ class PictorialUpdateOrCreate(APIView):
'collection_tag_ids': collection_tag_ids,
'is_home_recommend': int(request.POST.get('is_home_recommend', 0)),
'add_score': int(request.POST.get('add_score', 0)),
'is_public': True if request.POST.get('is_public') == "true" else False
}
try:
......
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