diff options
Diffstat (limited to 'flatpages')
-rw-r--r-- | flatpages/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flatpages/views.py b/flatpages/views.py index 8194b37..475531f 100644 --- a/flatpages/views.py +++ b/flatpages/views.py @@ -85,7 +85,7 @@ def flatpage(request, path): if m: preheader, headerattrs, head, postheader, bodyattrs, body, postbody = m.groups() else: - return HttpResponse(html + "Page could not be split into header and body: parsing failed in flatpages.views.py") + return HttpResponse(html + "HTML Parsing failure: Page could not be split into header and body: failed in flatpages.views.py") m = re.search(rb"<title>(.*)</title>", head, re.DOTALL + re.IGNORECASE) if m: title, = m.groups() |