Explorar o código

prep collections

jason %!s(int64=2) %!d(string=hai) anos
pai
achega
0de5e51fd9
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      backstage/collections/routes.py

+ 2 - 2
backstage/collections/routes.py

@@ -71,14 +71,14 @@ loc: "{}"\n\
 budget: "{}"\n\
 construction: "{}"\n\
 collection_description: "{}"\n\
-collection_slider: "{}"\n\
+collection_slider: "[]"\n\
 comment: "{}"\n
 ---'''.format(form.title.data, form.description.data, form.title.data,
               get_now_time(), 'true', 'collection', '/collection/{}'.format(eng_name),
               form.image.data.filename, form.collectiontitle.data, form.coverimg.data.filename, form.description.data.replace('\r\n','<br>'), form.tags.data,
               form.bannerimgtext.data, form.homeowner.data, form.size.data, form.bednum.data,
               form.housetype.data, form.designer.data, form.space.data, form.loc.data,
-              form.budget.data, form.construction.data, form.collectiondesc.data, csliderimg, form.comment.data.filename)
+              form.budget.data, form.construction.data, form.collectiondesc.data, form.comment.data.filename)
     data = {'frontMatter': front_matter,
             'name': eng_name,
             'type': 'collection',