diff --git a/registrasion/reporting/reports.py b/registrasion/reporting/reports.py index eb2c33a63d52597790e81db160aaed68b1c41084..a48f1a35491d3cfba6c6593ab0c496484735a5df 100644 --- a/registrasion/reporting/reports.py +++ b/registrasion/reporting/reports.py @@ -293,6 +293,9 @@ class ReportViewRequestData(object): self.section = request.GET.get("section") self.section = int(self.section) if self.section else None + if self.content_type is None: + self.content_type = "text/html" + # Reports come from calling the inner view reports = report_view.inner_view(request, self.form, *a, **k)