kopia lustrzana https://github.com/wagtail/wagtail
rodzic
8251072e6d
commit
3da4b686eb
|
@ -238,7 +238,7 @@ class BaseAPIViewSet(GenericViewSet):
|
|||
for field in cls.detail_only_fields:
|
||||
try:
|
||||
all_fields.remove(field)
|
||||
except KeyError:
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
# Get list of configured fields
|
||||
|
|
Ładowanie…
Reference in New Issue