aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst2
-rw-r--r--docs/orms.rst2
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