diff options
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | docs/orms.rst | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -159,7 +159,7 @@ It is also possible to create a bunch of objects in a single call: .. code-block:: pycon - >>> users = UserFactory.build(10, first_name="Joe") + >>> users = UserFactory.build_batch(10, first_name="Joe") >>> len(users) 10 >>> [user.first_name for user in users] diff --git a/docs/orms.rst b/docs/orms.rst index 9e4d106..a0afc40 100644 --- a/docs/orms.rst +++ b/docs/orms.rst @@ -290,7 +290,7 @@ To work, this class needs an `SQLAlchemy`_ session object affected to the :attr: SQLAlchemy session to use to communicate with the database when creating an object through this :class:`SQLAlchemyModelFactory`. -A (very) simple exemple: +A (very) simple example: .. code-block:: python |