def projectCategoryXML(project, projectcategory): # project_list = session.query(Project).filter_by(projectname_id = project,projectcategory_id=projectcategory).all() project_list = db_helper.jsonRequest() return Response(create_xml(project, projectcategory, project_list), mimetype='application/xml')
def projectCategoryXML(project,projectcategory): # project_list = session.query(Project).filter_by(projectname_id = project,projectcategory_id=projectcategory).all() project_list = db_helper.jsonRequest() return Response(create_xml(project,projectcategory,project_list), mimetype='application/xml')
def projectCategoryJSON(project, projectcategory): # project_list = session.query(Project).filter_by(projectname_id = project,projectcategory_id=projectcategory).all() project_list = db_helper.jsonRequest() return jsonify(Projects=[i.serialize for i in project_list])
def projectCategoryJSON(project,projectcategory): # project_list = session.query(Project).filter_by(projectname_id = project,projectcategory_id=projectcategory).all() project_list = db_helper.jsonRequest() return jsonify(Projects=[i.serialize for i in project_list])