mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-12 19:10:59 +00:00
Merge branch 'kaedroho-issue/1671'
This commit is contained in:
commit
14b1fa68b8
3 changed files with 5 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ Changelog
|
|||
* Fix: Project template no longer raises a deprecation warning (Maximilian Stauss)
|
||||
* Fix: `PageManager.sibling_of(page)` and `PageManager.not_sibling_of(page)` now default to inclusive (i.e. `page` is considered a sibling of itself), for consistency with other sibling methods
|
||||
* Fix: The "view live" button displayed after publishing a page now correctly reflects any changes made to the page slug (Ryan Pineo)
|
||||
* Fix: API endpoints now accept and ignore the `_` query parameter used by jQuery for cache-busting
|
||||
|
||||
|
||||
1.1 (15.09.2015)
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ Bug fixes
|
|||
* Project template no longer raises a deprecation warning (Maximilian Stauss)
|
||||
* ``PageManager.sibling_of(page)`` and ``PageManager.not_sibling_of(page)`` now default to inclusive (i.e. ``page`` is considered a sibling of itself), for consistency with other sibling methods
|
||||
* The "view live" button displayed after publishing a page now correctly reflects any changes made to the page slug (Ryan Pineo)
|
||||
* API endpoints now accept and ignore the ``_`` query parameter used by jQuery for cache-busting
|
||||
|
||||
|
||||
Upgrade considerations
|
||||
|
|
|
|||
|
|
@ -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 a new issue