From 28f07f772994363a8fbb68fcbb2f2596f9f3ddd5 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 29 Mar 2021 18:47:21 -0700 Subject: [PATCH] Fixes error pages --- bookwyrm/templates/{notfound.html => 404.html} | 0 bookwyrm/templates/{error.html => 500.html} | 0 bookwyrm/templates/directory/directory.html | 4 ++-- bookwyrm/urls.py | 2 -- bookwyrm/views/error.py | 12 ------------ 5 files changed, 2 insertions(+), 16 deletions(-) rename bookwyrm/templates/{notfound.html => 404.html} (100%) rename bookwyrm/templates/{error.html => 500.html} (100%) delete mode 100644 bookwyrm/views/error.py diff --git a/bookwyrm/templates/notfound.html b/bookwyrm/templates/404.html similarity index 100% rename from bookwyrm/templates/notfound.html rename to bookwyrm/templates/404.html diff --git a/bookwyrm/templates/error.html b/bookwyrm/templates/500.html similarity index 100% rename from bookwyrm/templates/error.html rename to bookwyrm/templates/500.html diff --git a/bookwyrm/templates/directory/directory.html b/bookwyrm/templates/directory/directory.html index 7413f67d5..430e85394 100644 --- a/bookwyrm/templates/directory/directory.html +++ b/bookwyrm/templates/directory/directory.html @@ -44,9 +44,9 @@