Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow wagtail video embed to function with custom image models #3

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

andywhale
Copy link

Currently this release functions with Wagtail 2.7 but uses migrations which do make use of the "get_image_model_string" function, meaning a custom image model will result in a foreign key error.

This can be resolved by adding a migration to alter the field thumbnail field.

Create a migration to alter the thumbnail field to use a custom image model if it is set
Remove declared model app
Update for Wagtail 2.8 compatability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant