Hey @carltongibson team!
i'm facing an issue regarding search_fields
django = "~=2.2.26" djangorestframework = "~=3.13.1" django-allauth = "~=0.50.0" django-rest-auth = "~=0.9.5" django-extensions = "~=3.1.5" django-filter = "*"
above all the requirements, which installed.
Include all fields having no relation
`search_fields = [i.name for i in ManageTFTData._meta.get_fields() if not i.is_relation]
serializer_class = ManageTFTDataSerializer
filter_backends = (filters.SearchFilter, DjangoFilterBackend)
`
Anyone can help me on this?
its just having issue for this just one field for specific above string.
Hey @carltongibson team! i'm facing an issue regarding search_fields
django = "~=2.2.26" djangorestframework = "~=3.13.1" django-allauth = "~=0.50.0" django-rest-auth = "~=0.9.5" django-extensions = "~=3.1.5" django-filter = "*"
above all the requirements, which installed.Include all fields having no relation `search_fields = [i.name for i in ManageTFTData._meta.get_fields() if not i.is_relation]
serializer_class = ManageTFTDataSerializer
filter_backends = (filters.SearchFilter, DjangoFilterBackend) ` Anyone can help me on this? its just having issue for this just one field for specific above string.