From efa9d3c0d165a4c49def26b423711ed28eb2d264 Mon Sep 17 00:00:00 2001 From: Raphaƫl Barrois Date: Tue, 3 Mar 2015 22:45:45 +0100 Subject: Fix typos in docs (Closes #159, closes #178, closes #188). --- README.rst | 2 +- docs/orms.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index cb38a9a..c787ca8 100644 --- a/README.rst +++ b/README.rst @@ -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 -- cgit v1.2.3