Merge branch 'release/v8.57'
This commit is contained in:
@@ -1452,6 +1452,7 @@ def plannedsessions_icsemail_view(request,userid=0):
|
|||||||
|
|
||||||
response = HttpResponse(cal.to_ical())
|
response = HttpResponse(cal.to_ical())
|
||||||
response['Content-Disposition'] = 'attachment; filename="training_plan_%s.ics"' % request.user.id
|
response['Content-Disposition'] = 'attachment; filename="training_plan_%s.ics"' % request.user.id
|
||||||
|
response['Content-Type'] = 'application/octet-stream'
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user