Adds url path

This commit is contained in:
Mouse Reeve
2021-04-03 12:31:28 -07:00
parent c5b2489330
commit 8711a2eba5
2 changed files with 2 additions and 1 deletions

View File

@@ -202,6 +202,7 @@ urlpatterns = [
re_path(r"%s/replies(.json)?/?$" % status_path, views.Replies.as_view()),
re_path(r"^post/(?P<status_type>\w+)/?$", views.CreateStatus.as_view()),
re_path(r"^delete-status/(?P<status_id>\d+)/?$", views.DeleteStatus.as_view()),
re_path(r"^redraft-status/(?P<status_id>\d+)/?$", views.DeleteAndRedraft.as_view()),
# interact
re_path(r"^favorite/(?P<status_id>\d+)/?$", views.Favorite.as_view()),
re_path(r"^unfavorite/(?P<status_id>\d+)/?$", views.Unfavorite.as_view()),