Changement visuel vhc caldav

This commit is contained in:
Ambulance Clerc
2022-06-22 09:34:38 +02:00
parent c7ccb10d86
commit 13531efd74
3 changed files with 13 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ def view_task_caldav(request):
@xframe_options_exempt
def view_vhc_caldav(request):
o_caldav = cls_caldav(url="https://sync.infomaniak.com/calendars/AA01593/4f7b4591-a4c4-4443-9f78-01df068f58b8?export")
o_caldav.get_caldav_data()
o_caldav.get_caldav_data(periode=2)
template = loader.get_template("vhc/vhc_view.html")
context = {'latest_task_list': o_caldav.items}
return HttpResponse(template.render(context, request))