Skip to content

Commit 9f6ea3a

Browse files
doc: reword session initialization instruction
The previous wording wasn't clear that the package wouldn't work correctly without it
1 parent 6e1da7d commit 9f6ea3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/initialize.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ After an initial table with tree you can use mptt features.
113113
Session
114114
-------
115115

116-
To work correctly after flush you should use
117-
:mod:`sqlalchemy_mptt.mptt_sessionmaker`
116+
For the automatic tree maintainance triggered after session flush to work
117+
correctly, wrap the Session factory with :mod:`sqlalchemy_mptt.mptt_sessionmaker`
118118

119119
.. code-block:: python
120120
:linenos:

0 commit comments

Comments
 (0)