mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
PEP8 fix
This commit is contained in:
parent
54d14b64bb
commit
0d0ff6c89a
@ -175,7 +175,7 @@ class PagesAPIEndpoint(BaseAPIEndpoint):
|
||||
|
||||
|
||||
class ImagesAPIEndpoint(BaseAPIEndpoint):
|
||||
queryset = get_image_model().objects.all().order_by('id')
|
||||
queryset = get_image_model().objects.all().order_by('id')
|
||||
filter_backends = [FieldsFilter, OrderingFilter, SearchFilter]
|
||||
extra_api_fields = ['title', 'tags', 'width', 'height']
|
||||
name = 'images'
|
||||
|
Loading…
Reference in New Issue
Block a user