add remote follow button

This commit is contained in:
Hugh Rundle
2021-11-28 20:09:29 +11:00
parent 2e428e6ea1
commit 6e7d23c1ae
5 changed files with 51 additions and 18 deletions

View File

@ -451,6 +451,7 @@ urlpatterns = [
re_path(r"^unfollow/?$", views.unfollow, name="unfollow"),
re_path(r"^accept-follow-request/?$", views.accept_follow_request),
re_path(r"^delete-follow-request/?$", views.delete_follow_request),
# re_path(r"^ostatus_follow/?$", views.remote_follow),
re_path(r"^ostatus_follow/?$", views.remote_follow, name="remote-follow"),
re_path(r"^remote_follow/?$", views.remote_follow_page, name="remote-follow-page"),
re_path(r"^ostatus_success/?$", views.ostatus_follow_success, name="ostatus-success"),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)