Add colon and space before PDF error message for readability
This commit is contained in:
parent
edd757d596
commit
2b86c16ec5
@ -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) })
|
||||||
|
Loading…
Reference in New Issue
Block a user