aboutsummaryrefslogtreecommitdiff
path: root/locustfile.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-07-06 14:13:43 +0300
committerBonfaceKilz2021-07-12 09:02:16 +0300
commitaf6b141ac37dbc38f990a871e61127d1efde10ce (patch)
tree8459f72bddefe540e08db17922b5971501ef47b3 /locustfile.py
parentbce7aaab7d65309dc0e755a74bf8339a721f2cd9 (diff)
downloadgenenetwork2-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