diff options
author | BonfaceKilz | 2021-07-06 14:13:43 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-07-12 09:02:16 +0300 |
commit | af6b141ac37dbc38f990a871e61127d1efde10ce (patch) | |
tree | 8459f72bddefe540e08db17922b5971501ef47b3 /locustfile.py | |
parent | bce7aaab7d65309dc0e755a74bf8339a721f2cd9 (diff) | |
download | genenetwork2-af6b141ac37dbc38f990a871e61127d1efde10ce.tar.gz |
wqflask: views: Rename endpoint for editing a trait
* wqflask/wqflask/views.py (edit_trait): Rename to
edit_phenotype. Also rename the endpoint to
"/trait/<name>/edit/inbredset-id/<inbred_set_id>" to indicate that and
inbredset-id is required. This endpoint will be only used for
phenotypes. Finally, render the "edit_phenotype.html" template
(update_trait): Rename to update_phenotype. Also, remove hard-coded
redirect, and replace it with the correct values.
* wqflask/wqflask/templates/edit_trait.html: Rename to
edit_phenotype.html
Diffstat (limited to 'locustfile.py')
0 files changed, 0 insertions, 0 deletions