From e0be9d3d6685b76a01c376655556295606ffea4e Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Tue, 9 Nov 2021 12:06:50 +0300 Subject: Rename "view_groups" to "display_groups" --- wqflask/wqflask/group_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wqflask') 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')) -- cgit v1.2.3