Skip to content

Commit

Permalink
Doc Correction
Browse files Browse the repository at this point in the history
  • Loading branch information
moumoutte committed Sep 29, 2013
1 parent df362c5 commit bd57c59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/sqla_helpers.rst
Expand Up @@ -67,9 +67,9 @@ function.
:class:`sqla_helpers.base_model.BaseModel` need to build a session when queries are done.
In order to access a session when needing, the class uses the stored function :attr:`sqla_helpers.base_model.BaseModel.sessionmaker`.:
So we need to store a session_maker by `sqla_helpers.base_model.BaseModel.register_sessionmaker` method.
This function will be called each time a session is need.
In order to access a session when needing, the class uses the stored function :attr:`sqla_helpers.base_model.BaseModel.sessionmaker`.
This function will be called each time a session is needed.
So we need to store a session_maker by calling `sqla_helpers.base_model.BaseModel.register_sessionmaker` method.

.. code-block:: python
Expand Down

0 comments on commit bd57c59

Please sign in to comment.