0👍
def get(self, request):
friends = Friend.objects.friends(request.user)
In the above code you may want to use get()
or filter()
instead of friends()
Source:stackexchange.com
0👍
def get(self, request):
friends = Friend.objects.friends(request.user)
In the above code you may want to use get()
or filter()
instead of friends()