diff --git a/CHANGES.rst b/CHANGES.rst index fa9da26..2fd09ba 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,14 @@ Versions releases 0.2.x & above ############################### +0.6.0 (Unreleased) +================== + +see issues #109 & #111 + +- Add support for SQLAlchemy 2.0. +- Remove examples of defunct features from the documentation. + 0.5.0 (2025-11-18) ================== diff --git a/docs/tut_flask.rst b/docs/tut_flask.rst index be07f94..4ab558b 100644 --- a/docs/tut_flask.rst +++ b/docs/tut_flask.rst @@ -268,40 +268,31 @@ Returns a list containing the ancestors and the node itself in tree order. for item in categories: print(item) - print(item.path_to_root()[-1]) # get root - # last element in list pprint(item.path_to_root().all()) print() .. testoutput:: :options: +NORMALIZE_WHITESPACE - [] - [, ] - [, , ] - [, , , ] - [, ] - [, , ] - [, , ] Full code @@ -423,37 +414,29 @@ Full code for item in categories: print(item) - print(item.path_to_root()[-1]) pprint(item.path_to_root().all()) print() ''' - [] - [, ] - [, , ] - [, , , ] - [, ] - [, , ] - [, , ] ''' @@ -491,30 +474,23 @@ Full code [{'node': }] - [] - [, ] - [, , ] - [, , , ] - [, ] - [, , ] - [, , ]