Moves blocking side effects to model
This commit is contained in:
parent
4e0ec12052
commit
d994d8d3c8
5 changed files with 28 additions and 10 deletions
|
@ -136,4 +136,6 @@ urlpatterns = [
|
|||
re_path(r'^unfollow/?$', views.unfollow),
|
||||
re_path(r'^accept-follow-request/?$', views.accept_follow_request),
|
||||
re_path(r'^delete-follow-request/?$', views.delete_follow_request),
|
||||
|
||||
re_path(r'^block/(?P<user_id>\d+)/?$', views.Block.as_view()),
|
||||
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue