Browse Source

Update example list api

pull/1370/head
Hironsan 3 years ago
parent
commit
67c8acfcfa
1 changed files with 1 additions and 0 deletions
  1. 1
      backend/api/views/example.py

1
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):

Loading…
Cancel
Save