Commit 320ad937 authored by yangchenglin's avatar yangchenglin

fix

parent f0df3672
...@@ -51,9 +51,7 @@ class PictorialUpdateOrCreate(APIView): ...@@ -51,9 +51,7 @@ class PictorialUpdateOrCreate(APIView):
pictorial_user_ids = json.loads(request.POST.get('pictorial_user_ids', '[]')) pictorial_user_ids = json.loads(request.POST.get('pictorial_user_ids', '[]'))
collection_tag_ids = json.loads(request.POST.get('collection_tag_ids', '[]')) collection_tag_ids = json.loads(request.POST.get('collection_tag_ids', '[]'))
pictorial_activity_id = request.POST.get('pictorial_activity_id') pictorial_activity_id = request.POST.get('pictorial_activity_id')
tab_config = request.POST.get("tab_config") tab_config = request.POST.get("tab_config", "[]")
if tab_config:
tab_config = []
data = { data = {
'name': request.POST.get('name', ''), 'name': request.POST.get('name', ''),
'description': request.POST.get('description', ''), 'description': request.POST.get('description', ''),
......
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