Skip to content

Conversation

@antoine-gallix
Copy link
Contributor

I spent a lot of time the last two days trying to understand why the tree was not updated correctly after flush, before finding and understanding the paragraph on the mptt_sessionmaker. I changed the docs to make it clearer that this step is mandatory. I also struggled to find out where to apply this wrapper, because we use flask_sqlalchemy for integration with our flask backend, and the Session creation is hidden. So I add also instructions on how to apply mptt_sessionmaker in that case.

The previous wording wasn't clear that the package wouldn't work correctly without it
This initialization is mandatory and is better placed at the top of the file, before optional explainations
@uralbash uralbash merged commit 1f78c34 into uralbash:master Nov 23, 2018
@uralbash
Copy link
Owner

Many Thanks! I hope now it will be clearer to users.

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.

2 participants