Merge branch 'release/v8.57'
This commit is contained in:
@@ -1451,7 +1451,8 @@ def plannedsessions_icsemail_view(request,userid=0):
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user