Commit a1e38552 authored by yangchenglin's avatar yangchenglin

fix

parent 239fc97a
...@@ -111,8 +111,8 @@ class PictorialActivityView(APIView): ...@@ -111,8 +111,8 @@ class PictorialActivityView(APIView):
"start_time": request.POST.get('start_time'), "start_time": request.POST.get('start_time'),
"end_time": request.POST.get('end_time'), "end_time": request.POST.get('end_time'),
"version": request.POST.get('version', '0.0.0'), "version": request.POST.get('version', '0.0.0'),
"banner": request.POST.get('banner'), "banner": request.POST.get('banner', ''),
"description": request.POST.get('description'), "description": request.POST.get('description',''),
"titles": json.loads(request.POST.get('titles', '[]')) "titles": json.loads(request.POST.get('titles', '[]'))
} }
......
...@@ -195,7 +195,7 @@ urlpatterns = [ ...@@ -195,7 +195,7 @@ urlpatterns = [
url(r'^activity/pictorial$', PictorialActivityView.as_view()), url(r'^activity/pictorial$', PictorialActivityView.as_view()),
url(r'^activity/pictorial$', PictorialActivityView.as_view()), url(r'^activity/pictorial$', PictorialActivityView.as_view()),
url(r'^activity/pictorial/list$', PictorialActivityListView.as_view()), url(r'^activity/pictorial/list$', PictorialActivityListView.as_view()),
url(r'^activity/pictorial/online$', PictorialActivityView.as_view()), url(r'^activity/pictorial/online$', PictorialActivityOlineView.as_view()),
# 品牌 # 品牌
url(r'^brand/list$', BrandListView.as_view()), url(r'^brand/list$', BrandListView.as_view()),
......
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