mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-30 01:46:24 +01:00
Allow "_" GET parameter in the API. Fixes #1671
Used by jQuery for cache-busting
This commit is contained in:
parent
deee02e4d7
commit
1345d5d24f
@ -37,6 +37,9 @@ class BaseAPIEndpoint(GenericViewSet):
|
||||
'fields',
|
||||
'order',
|
||||
'search',
|
||||
|
||||
# Used by jQuery for cache-busting. See #1671
|
||||
'_',
|
||||
])
|
||||
extra_api_fields = []
|
||||
name = None # Set on subclass.
|
||||
|
Loading…
Reference in New Issue
Block a user