8000 Fix: django treebeard 4.5.1 compatibility by Aiky30 · Pull Request #6988 · django-cms/django-cms · GitHub
[go: up one dir, main page]

Skip to content

Fix: django treebeard 4.5.1 compatibility #6988

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

Merged

Conversation

Aiky30
Copy link
Contributor
@Aiky30 Aiky30 commented Mar 2, 2021

Description

django treebeard 4.5 introduced breaking changes that changed the check for if a model is being created or not. It appears that the django documentation does not cover the situation seen where the model _state needed to be manually updated.

This fix is now compatible with django-treebeard 4.5.1, 4.5 contained additional breaking changes that 4.5.1 resolves.

Related resources

Checklist

  • I have opened this pull request against develop
  • I have updated the CHANGELOG.rst
  • I have added or modified the tests when changing logic

@FinalAngel
Copy link
Member

great work @Aiky30

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.

[BUG] Treebeard 4.5 leads to major issue
3 participants
0