ajout de system impression team_pdf
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -365,3 +365,4 @@ FodyWeavers.xsd
|
||||
|
||||
db.sqlite3
|
||||
|
||||
/mycaldav/export.pdf
|
||||
|
@@ -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')
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user