示例#1
0
def list_projects():
    debug_set = current_app.config["DEBUG"]
    if debug_set == True:
        print "\n\n\n==========> account->views.py -> list_projects() "
    firstname = current_user.firstname
    lastname = current_user.lastname
    # user's project list
    proj_list = Project.get_projects_for_username(current_user.username)
    return render_template("project_list.html", prj_list=proj_list)
示例#2
0
def list_projects():
    firstname = current_user.firstname
    lastname = current_user.lastname
    # user's project list
    proj_list = Project.get_projects_for_username(current_user.username)
    return render_template("project_list.html", prj_list=proj_list)