<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def list_submissions():
 """List the past submissions with information about them"""

    submissions = []
    try:
        submissions = session.query(Submission).all()
    except SQLAlchemyError as e:
        session.rollback()
    return render_template('list_submissions.html', submissions=submissions)