aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2015-03-03 22:45:45 +0100
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2015-03-03 22:45:45 +0100
commitefa9d3c0d165a4c49def26b423711ed28eb2d264 (patch)
treed89f9b24e3154b12e2daaea5847d8be7ea5e4042
parent93e37c2016b72e7ee66b02bfae329753ccfbe322 (diff)
downloadfactory-boy-efa9d3c0d165a4c49def26b423711ed28eb2d264.tar
factory-boy-efa9d3c0d165a4c49def26b423711ed28eb2d264.tar.gz
Fix typos in docs (Closes #159, closes #178, closes #188).
-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