Mercurial > kallithea
changeset 8323:2b8892f92b46
docs: fix contributing.rst reference to Session.remove()
(Second to) last example of Session.remove was removed in 1a409593f352.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 20 Mar 2020 20:16:43 +0100 |
parents | de0f50a7b86a |
children | ea20850dda85 |
files | docs/contributing.rst |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/contributing.rst Fri Apr 10 15:29:48 2020 +0200 +++ b/docs/contributing.rst Fri Mar 20 20:16:43 2020 +0100 @@ -236,8 +236,8 @@ as in an independent database transaction). ``Session`` is the session manager and factory. ``Session()`` will create a new session on-demand or return the current session for the active thread. Many database operations are methods on -such session instances - only ``Session.remove()`` should be called directly on -the manager. +such session instances. The session will generally be removed by +TurboGears automatically. Database model objects (almost) always belong to a particular SQLAlchemy session, which means