Don't check vf by default on new

This commit is contained in:
Michel Roux 2019-12-26 18:42:53 +01:00
parent 14eb0a70f1
commit c473c7fb86

1
app.py
View File

@ -160,6 +160,7 @@ def admin_edit(link_id=None):
except: except:
pass pass
form.folder.choices = [(0, '')] + form.folder.choices form.folder.choices = [(0, '')] + form.folder.choices
link.vf = False
return render_template('admin/edit.html', search_form=SearchForm(), link=link, titles=titles, action_form=form) return render_template('admin/edit.html', search_form=SearchForm(), link=link, titles=titles, action_form=form)