aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-11-09 12:06:50 +0300
committerBonfaceKilz2021-11-11 09:32:26 +0300
commite0be9d3d6685b76a01c376655556295606ffea4e (patch)
treec3274ce8880969ac1c8596ab9540219bf861dc98
parentc11ac641592da44a823fdf41c0b81cd7bc7971f1 (diff)
downloadgenenetwork2-e0be9d3d6685b76a01c376655556295606ffea4e.tar.gz
Rename "view_groups" to "display_groups"
-rw-r--r--wqflask/wqflask/group_manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/group_manager.py b/wqflask/wqflask/group_manager.py
index 3434eab9..0e1fa56e 100644
--- a/wqflask/wqflask/group_manager.py
+++ b/wqflask/wqflask/group_manager.py
@@ -18,7 +18,7 @@ group_management = Blueprint("group_management", __name__)
@group_management.route("/groups")
@login_required
-def view_groups():
+def display_groups():
groups = get_groups_by_user_uid(
user_uid=(g.user_session.record.get(b"user_id",
b"").decode("utf-8") or
@@ -69,7 +69,7 @@ def create_new_group():
group_name=group_name,
member_user_uids=list(members_uid),
admin_user_uids=list(admins_uid))
- return redirect(url_for('group_management.view_groups'))
+ return redirect(url_for('group_management.display_groups'))
return redirect(url_for('group_management.create_groups'))