Change variable name from data to user_info because it was more descriptive

This commit is contained in:
leigh-mil
2019-08-13 14:22:43 -04:00
parent 87b173b035
commit 852046a3e7
2 changed files with 4 additions and 8 deletions

View File

@@ -26,8 +26,8 @@ def activity_history():
@user_can(Permissions.VIEW_CCPO_USER, message="view ccpo users")
def users():
users = Users.get_ccpo_users()
data = [(user, CCPOUserForm(obj=user)) for user in users]
return render_template("ccpo/users.html", data=data)
users_info = [(user, CCPOUserForm(obj=user)) for user in users]
return render_template("ccpo/users.html", users_info=users_info)
@bp.route("/ccpo-users/new")