Dropdowns for foreign_keys in fields.
This commit is contained in:
parent
5307210a7b
commit
cfb25f098a
5 changed files with 63 additions and 12 deletions
|
|
@ -24,7 +24,7 @@ def index():
|
|||
|
||||
devices = device_service.list()
|
||||
table = render_table(devices)
|
||||
form = render_form(Device, {})
|
||||
form = render_form(Device, {}, session)
|
||||
return render_template('index.html', table=table, form=form)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue