Beispiel #1
0
def get_project():
    hackbright_app.connect_to_db()
    project_title = request.args.get("project")
    projects = hackbright_app.show_grades_by_project(project_title)
    html = render_template("get_project.html", projects = projects)

    return html
def show_project_grades():
    hackbright_app.connect_to_db()
    project_name = request.args.get("project_name")
    rows = hackbright_app.show_grades_by_project(project_name)
    html = render_template("project_info.html", rows = rows,
                                                project = project_name)
    return html
Beispiel #3
0
def show_project_grades():
    hackbright_app.connect_to_db()
    project_name = request.args.get("project_name")
    rows = hackbright_app.show_grades_by_project(project_name)
    html = render_template("project_info.html",
                           rows=rows,
                           project=project_name)
    print project_name, rows, "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
    return html