kopia lustrzana https://github.com/wagtail/wagtail
Add release note for changes to image chooser URL route names
rodzic
7e91535fad
commit
ae0495fa44
|
@ -227,10 +227,15 @@ The internal JavaScript functions `createPageChooser`, `createSnippetChooser`, `
|
|||
* `createDocumentChooser(id)` should be replaced with `new DocumentChooser(id)`
|
||||
* `createImageChooser(id)` should be replaced with `newImageChooser(id)`
|
||||
|
||||
### URL route names for document and snippet apps have changed
|
||||
### URL route names for image, document and snippet apps have changed
|
||||
|
||||
If your code contains references to URL route names within the `wagtaildocs` or `wagtailsnippets` namespaces, these should be updated as follows:
|
||||
If your code contains references to URL route names within the `wagtailimages`, `wagtaildocs` or `wagtailsnippets` namespaces, these should be updated as follows:
|
||||
|
||||
* `wagtailimages:chooser` is now `wagtailimages_chooser:choose`
|
||||
* `wagtailimages:chooser_results` is now `wagtailimages_chooser:choose_results`
|
||||
* `wagtailimages:image_chosen` is now `wagtailimages_chooser:chosen`
|
||||
* `wagtailimages:chooser_upload` is now `wagtailimages_chooser:create`
|
||||
* `wagtailimages:chooser_select_format` is now `wagtailimages_chooser:select_format`
|
||||
* `wagtaildocs:chooser` is now `wagtaildocs_chooser:choose`
|
||||
* `wagtaildocs:chooser_results` is now `wagtaildocs_chooser:choose_results`
|
||||
* `wagtaildocs:document_chosen` is now `wagtaildocs_chooser:chosen`
|
||||
|
|
Ładowanie…
Reference in New Issue