Show the URL you're using
On Tuesday, January 23, 2018 at 12:23:03 PM UTC-5, Antonio Junior wrote:
>
> I want to send a phone through the url already test in several ways but I
> can not
>
> View
>
> class SearchCustomerViewSet(generics.RetrieveUpdateDestroyAPIView):
>
> permission_classes =
I want to send a phone through the url already test in several ways but I
can not
View
class SearchCustomerViewSet(generics.RetrieveUpdateDestroyAPIView):
permission_classes = ()
serializer_class = SearchCustomerSerializer
lookup_field = 'phone'
def get_queryset(self):