diff --git a/jarvis/people/views.py b/jarvis/people/views.py index 1140e14..a0d02b6 100644 --- a/jarvis/people/views.py +++ b/jarvis/people/views.py @@ -1094,9 +1094,11 @@ def generate_week_report(request, gymnast_id, season=None, week_number=None): response = HttpResponse(content_type="application/pdf") response[ "Content-Disposition" - ] = "attachment; filename={lastname}-{firstname}-report.pdf".format( + ] = "attachment; filename={lastname}_{firstname}_weekreport_{season}_{week_number}.pdf".format( lastname=gymnast.last_name, firstname=gymnast.first_name, + season=season, + weeknumber=week_number ) html = render_to_string("gymnasts/reports/report_week.html", context)