File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 22
33from api .views import (
44 AssignUserPermissionView ,
5+ BlockUserView ,
6+ CloseFriendView ,
57 DeleteAccountView ,
68 FollowActionView ,
79 FollowersView ,
810 FollowingView ,
911 FollowRequestRespondView ,
1012 LoginView ,
1113 LogoutView ,
14+ MuteUserView ,
1215 ProfileView ,
1316 RegisterView ,
17+ UserSettingsView ,
1418)
1519
1620urlpatterns = [
3842 FollowRequestRespondView .as_view (),
3943 name = "follow-request-response" ,
4044 ),
45+ path ("block/<int:user_id>/" , BlockUserView .as_view ()),
46+ path ("mute/<int:user_id>/" , MuteUserView .as_view ()),
47+ path ("close-friends/<int:user_id>/" , CloseFriendView .as_view ()),
48+ path ("settings/" , UserSettingsView .as_view ()),
4149 path ("logout/" , LogoutView .as_view (), name = "logout" ),
4250 path ("delete-account/" , DeleteAccountView .as_view (), name = "delete-account" ),
4351]
You can’t perform that action at this time.
0 commit comments