Add post and image deletion

This one was kind of a doozy. This also adds a custom 403 error page and
fixes some permission denied behavior that I was having issues with for
a while.

This is also set up in a way that hopefully will allow me to easily
implement user post deletion.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-07-13 15:19:20 -07:00
parent 6ff64a3299
commit 83533b5fb4
9 changed files with 147 additions and 3 deletions

8
board/templates/403.html Normal file
View File

@@ -0,0 +1,8 @@
{% extends "board/base.html" %}
{% block title %}
Permission denied
{% endblock title %}
{% block content %}
<h3>You do not have permission to do this.</h3>
{% endblock content %}