From 2b86c16ec5f7fb0764c3d69a1a8cc37103c2dfcf Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Thu, 19 Jun 2014 08:52:18 +0000 Subject: [PATCH] Add colon and space before PDF error message for readability --- basics/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basics/views.py b/basics/views.py index 63966d0..9ff6f88 100644 --- a/basics/views.py +++ b/basics/views.py @@ -18,7 +18,7 @@ def resumepdf(request): if not pdf.err: return HttpResponse(pdf_data, mimetype = 'application/pdf') - return HttpResponse('We had some errors
%s
' % escape(html)) + return HttpResponse('We had some errors:
%s
' % escape(html)) def resume(request): return render(request, 'basics/resume.html', { 'site': get_current_site(request) })