summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2015-05-31 10:15:27 +0100
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2015-05-31 10:15:38 +0100
commite9851a7d51afffea2a5679934ad6284c0835cfa2 (patch)
tree357d1628a67860c78996ee26985ba412b1817df7
parentebc89520d3f7589da35d4e7b78637fbe7d4d664a (diff)
downloadfactory-boy-e9851a7d51afffea2a5679934ad6284c0835cfa2.tar
factory-boy-e9851a7d51afffea2a5679934ad6284c0835cfa2.tar.gz
Docs: fix minor typo.
As spotted by @proofit404
-rw-r--r--docs/reference.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference.rst b/docs/reference.rst
index a168de5..4c7f8f7 100644
--- a/docs/reference.rst
+++ b/docs/reference.rst
@@ -494,7 +494,7 @@ Faker
class Meta:
model = User
- first_name = factory.Faker('name')
+ name = factory.Faker('name')
.. code-block:: pycon
@@ -514,7 +514,7 @@ Faker
class Meta:
model = User
- first_name = factory.Faker('name', locale='fr_FR')
+ name = factory.Faker('name', locale='fr_FR')
.. code-block:: pycon