kopia lustrzana https://github.com/wagtail/wagtail
9aeb2e3e49
Fixes #9010. `wagtail.documents.widgets` is no longer reliably imported on startup now that the chooser widget is constructed within wagtail.documents.views.chooser instead, so the telepath adapter wasn't getting register. This meant that DocumentChooserBlocks in StreamField were using the base chooser implementation, which didn't include customisations such as populating the title field from the file upload field. Fix this by making ChooserViewSet responsible for registering the telepath adapter. |
||
---|---|---|
.. | ||
contrib | ||
pages | ||
streamfield | ||
hooks.md | ||
index.md | ||
jinja2.md | ||
management_commands.md | ||
panel_api.md | ||
project_template.md | ||
settings.md | ||
signals.md | ||
viewsets.md |