@ -173,7 +173,7 @@ def get_invoices(request):
invoices = invoices.filter(date__gte=date_from) if date_from else invoices
response = HttpResponse(content_type='text/csv')
response['Content-Disposition'] = 'attachment; filename="%s"' % file_name
response['Content-Disposition'] = 'attachment; filename="%s.csv"' % file_name
writer = csv.writer(response)
writer.writerow(['date', 'student_email', 'full_name', 'course', 'price', 'real_price', 'key'])