Skip to content

Conversation

thibaudcolas
Copy link
Member

Changed

  • Update edit handler AdminMediaChooser API to be compatible with Wagtail 2.0 and above (#34, #40). Thanks to @pahacofome

Upgrade considerations

BaseMediaChooserPanel is deprecated, and will be removed in a future release. Please use AdminMediaChooser instead (#40):

- from wagtailmedia.edit_handlers import BaseMediaChooserPanel
+ from wagtailmedia.edit_handlers import MediaChooserPanel

# [...]

content_panels = Page.content_panels + [
    # [...]
-    BaseMediaChooserPanel('video_media'),
+    MediaChooserPanel('video_media'),
    # [...]

@thibaudcolas thibaudcolas merged commit 4cfecb7 into torchbox:master May 22, 2019
@thibaudcolas thibaudcolas deleted the chore/release-v0.3.1 branch May 22, 2019 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant