Hi erwan, The library you mentioned is not mantained since 2018 as you can see from the commit history on github. However it's just a REST wrapper of the django-frinedship library that unlike the one you are referring to, is acrively matained. If you look at the source code of django-rest-friendship it's pretty easy to understand and reproduce / improve, you only need to create a serializer and a viewset for both Firend and FriendshipRequest models, than register viewsets in a router.
Il giorno mercoledì 25 agosto 2021 alle 13:23:43 UTC+2 [email protected] ha scritto: > Hello everyone, > Some time ago, I coded something with python a kind of social network, I > use dango and django rest as backend and reactjs frontend, I encountered > problem about friend system, I searched everything but I found nothing and > after some time I found this "django-rest-friendship", but the problem that > there is no documentation or example, if someone has a clue on my problem, > ca will be great. > thank you so much > > -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/6ae865ca-ce9e-45a6-b8f7-b9a53e68668cn%40googlegroups.com.
