Update AdminUserList

This commit is contained in:
Patrick Jentsch
2023-01-09 08:45:47 +01:00
parent 381716f87a
commit 7836774fef
6 changed files with 69 additions and 16 deletions

View File

@ -30,10 +30,10 @@ def index():
@bp.route('/users')
def users():
json_users = [x.to_json_serializeable(backrefs=True) for x in User.query.all()]
users = [x.to_json_serializeable(backrefs=True) for x in User.query.all()]
return render_template(
'admin/users.html.j2',
json_users=json_users,
users=users,
title='Users'
)