Skip to content
Snippets Groups Projects
Commit f631c91d authored by MavericksFive's avatar MavericksFive
Browse files

final_version_for_Arnaud

parent 2f8034d9
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -318,7 +318,7 @@ def view_pdf(pfe_id):
response = make_response(send_file(pdf, mimetype='report_pfe/pdf', download_name='report_pfe.pdf'))
response.headers['Content-Type'] = 'report_pfe/pdf'
return response
@app.route('/displayprofile/<int:id>', methods=["POST"])
@app.route('/displayprofile/<int:id>', methods=["GET","POST"])
def display_viewProfile(id):
etudiant = Personne.query.filter_by(id=id).first()
position = Position.query.filter_by(id_personne = etudiant.id).first()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment