kopia lustrzana https://github.com/wagtail/wagtail
Release note for #9842
rodzic
c3383f20a4
commit
fd88ec3eb7
|
@ -5,6 +5,7 @@ Changelog
|
|||
~~~~~~~~~~~~~~~~
|
||||
|
||||
* Object usage information on deleting objects (Sage Abdullah)
|
||||
* Support for SVG images (Joshua Munn)
|
||||
* Custom validation support for StreamField (Matt Westcott)
|
||||
* Add `WAGTAILIMAGES_EXTENSIONS` setting to restrict image uploads to specific file types (Aman Pandey, Ananjan-R)
|
||||
* Update user list column level to `Access level` to be easier to understand (Vallabh Tiwari)
|
||||
|
|
|
@ -15,6 +15,10 @@ depth: 1
|
|||
|
||||
On deleting a page, image, document or snippet, the confirmation screen now provides a summary of where the object is used, allowing users to see the effect that deletion will have elsewhere on the site. This also prevents objects from being deleted in cases where deletion would be blocked by an `on_delete=PROTECT` constraint. This feature was developed by Sage Abdullah.
|
||||
|
||||
### SVG image support
|
||||
|
||||
The image library can now be configured to allow uploading SVG images. These are handled by the `{% image %}` template tag as normal, with some limitations on image operations - for full details, see [](svg_images). This feature was developed by Joshua Munn.
|
||||
|
||||
### Custom validation support for StreamField
|
||||
|
||||
Support for adding custom validation logic to StreamField blocks has been formalised and simplified. For most purposes, raising a `ValidationError` from the block's `clean` method is now sufficient; more complex behaviours (such as attaching errors to a specific child block) are possible through block-specific subclasses of `ValidationError`. For more details, see [](streamfield_validation). This feature was developed by Matt Westcott.
|
||||
|
|
Ładowanie…
Reference in New Issue