Commit 6328161d authored by yangchenglin's avatar yangchenglin

add alias

parent d318becf
......@@ -66,7 +66,8 @@ class PictorialUpdateOrCreate(APIView):
'add_score': int(request.POST.get('add_score', 0)),
'is_public': True if request.POST.get('is_public') == "true" else False,
'is_feed': int(request.POST.get('is_feed', 0)),
'pictorial_activity_ids': [int(pictorial_activity_id)]
'pictorial_activity_ids': [int(pictorial_activity_id)],
'alias': request.POST.get('alias', ''),
}
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