0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
Matt Westcott
1829ed3dbe Avoid importing document model class from wagtail.documents.permissions and wagtail.documents.views.chooser
Fixes #9118. Permission policies can now be initialised by passing a model string rather than a class; wagtail.admin.widgets.chooser.BaseChooser had this capability already. Between these, we can adjust wagtail.documents.views.chooser so that no models need to be imported at module load time. As a result, definitions that depend on this module (such as DocumentChooserBlock) can now be included in the same models file as a custom document model, without causing a circular import.
2022-09-05 10:49:45 +01:00
Sage Abdullah
54597bb65d Add <base> tag for preview panel in the default base.html template (#9132) 2022-09-02 17:19:36 +01:00
Matt Westcott
6fa216883b Release note for #9124 in 4.0.1 2022-09-02 15:01:27 +01:00
Matt Westcott
a29a405657 Release note for #9119 in 4.0.1 2022-09-01 17:56:34 +01:00