I would like to know how can I get the position of some object in a list of objects from flask sqlalchemy.
universities = University.query.order_by(University.students_total.desc()).all()
print universities
[<University 38>, <University 34>, <University 19>, <University 33>]
Let's say I want to get the position of the University 19
I've tried this, without success: universities.index("<University 19>")
ValueError: '<University 19>' is not in list