Add colon and space before PDF error message for readability

This commit is contained in:
Gergely Polonkai 2014-06-19 08:52:18 +00:00
parent edd757d596
commit 2b86c16ec5

View File

@ -18,7 +18,7 @@ def resumepdf(request):
if not pdf.err: if not pdf.err:
return HttpResponse(pdf_data, mimetype = 'application/pdf') return HttpResponse(pdf_data, mimetype = 'application/pdf')
return HttpResponse('We had some errors<pre>%s</pre>' % escape(html)) return HttpResponse('We had some errors: <pre>%s</pre>' % escape(html))
def resume(request): def resume(request):
return render(request, 'basics/resume.html', { 'site': get_current_site(request) }) return render(request, 'basics/resume.html', { 'site': get_current_site(request) })