ajout de system impression team_pdf

This commit is contained in:
Ambulance Clerc
2022-09-26 12:08:53 +02:00
parent 58a789643d
commit 0ba8d31637
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -365,3 +365,4 @@ FodyWeavers.xsd
db.sqlite3
/mycaldav/export.pdf

View File

@@ -76,6 +76,6 @@ def view_team_pdf_caldav(request):
myClient = cls_caldav_client()
render_pdf(o_caldav, caldavClient=myClient, date=start)
return FileResponse(open('test.pdf', 'rb'), as_attachment=False, content_type='application/pdf')
return FileResponse(open('mycaldav/export.pdf', 'rb'), as_attachment=False, content_type='application/pdf')