From 67c8acfcfa96403018ecd3cc668e273f1e2b5580 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 17 May 2021 17:29:36 +0900 Subject: [PATCH] Update example list api --- backend/api/views/example.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/api/views/example.py b/backend/api/views/example.py index ae7e9b96..ee10e423 100644 --- a/backend/api/views/example.py +++ b/backend/api/views/example.py @@ -20,6 +20,7 @@ class ExampleList(generics.ListCreateAPIView): ordering_fields = ('created_at', 'updated_at') search_fields = ('text', 'filename') model = Example + filter_class = DocumentFilter @property def project(self):