summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorAndrey Voronov <voronov84@gmail.com>2012-02-02 00:40:14 +0200
committerAndrey Voronov <voronov84@gmail.com>2012-02-02 00:40:14 +0200
commit33d5a1ee95c78f2d67fcb4f5d217edb9b1a13301 (patch)
tree6cbc3c5dc555ad35385e969381e531e1a587e3e2 /README.rst
parentaaf283a81b39d6fc3d2ff493abaf14c318887a79 (diff)
downloadfactory-boy-33d5a1ee95c78f2d67fcb4f5d217edb9b1a13301.tar
factory-boy-33d5a1ee95c78f2d67fcb4f5d217edb9b1a13301.tar.gz
Update README.rst
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index c3e0b0a..e41e07a 100644
--- a/README.rst
+++ b/README.rst
@@ -190,7 +190,7 @@ Factory._prepare method::
password = kwargs.pop('password', None)
user = super(UserFactory, cls)._prepare(create, **kwargs)
if password:
- user.set_password(user)
+ user.set_password(password)
if create:
user.save()
return user