ajout de system impression team_pdf
This commit is contained in:
@@ -75,7 +75,7 @@ def view_team_pdf_caldav(request):
|
||||
start = datetime.strptime(request.GET['dt'], "%d.%m.%Y")
|
||||
|
||||
myClient = cls_caldav_client()
|
||||
#render_pdf(o_caldav, start)
|
||||
render_pdf(o_caldav, caldavClient=myClient, date=start)
|
||||
return FileResponse(open('test.pdf', 'rb'), as_attachment=False, content_type='application/pdf')
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user