Created
July 8, 2019 12:50
-
-
Save akshar-raaj/32ce937f0db3a268b2ef17ba61c752b2 to your computer and use it in GitHub Desktop.
View with DynamicSearchFilter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class QuestionsAPIView(generics.ListCreateAPIView): | |
| filter_backends = (DynamicSearchFilter,) | |
| queryset = Question.objects.all() | |
| serializer_class = QuestionSerializer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment