summaryrefslogtreecommitdiffstats
path: root/takahe
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-24 22:31:45 -0700
committerAndrew Godwin2022-11-24 22:31:57 -0700
commit79002e1eaf96e9cfcd2993715b67cf3a61e02fb3 (patch)
tree10d3f3c7cd7709cdab5259c5e74066df6e175e74 /takahe
parentdf5493dd2a9a884660ee2a491377237071493c76 (diff)
downloadtakahe-79002e1eaf96e9cfcd2993715b67cf3a61e02fb3.tar.gz
takahe-79002e1eaf96e9cfcd2993715b67cf3a61e02fb3.tar.bz2
takahe-79002e1eaf96e9cfcd2993715b67cf3a61e02fb3.zip
Add initial delete UI
Diffstat (limited to 'takahe')
-rw-r--r--takahe/urls.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/takahe/urls.py b/takahe/urls.py
index 614ec3b..ddffa68 100644
--- a/takahe/urls.py
+++ b/takahe/urls.py
@@ -94,6 +94,7 @@ urlpatterns = [
path("@<handle>/posts/<int:post_id>/unlike/", posts.Like.as_view(undo=True)),
path("@<handle>/posts/<int:post_id>/boost/", posts.Boost.as_view()),
path("@<handle>/posts/<int:post_id>/unboost/", posts.Boost.as_view(undo=True)),
+ path("@<handle>/posts/<int:post_id>/delete/", posts.Delete.as_view()),
# Authentication
path("auth/login/", auth.Login.as_view(), name="login"),
path("auth/logout/", auth.Logout.as_view(), name="logout"),