Order: Improve help text(s)

This commit is contained in:
Oliver Walters committed 2020-08-31 19:13:24 +10:00
1 parent 406dbc36fa
commit 5c4781b5b4
3 files changed
+42 -7

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ class ReportTemplateBase(models.Model):
except TexError:
return TexResponse(rendered, filename="error.tex")
else:
return ValidationError("Enable LaTeX support in config.yaml")
raise ValidationError("Enable LaTeX support in config.yaml")
elif self.extension in ['.htm', '.html']:
# Render HTML template to PDF
wp = WeasyprintReportMixin(request, self.template_name, **kwargs)