diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-02-01 15:25:00 -0800 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-02-01 15:25:00 -0800 |
commit | ff9d0f536bc443b81e6c95cf31644b6e19236538 (patch) | |
tree | 6cbc3c5dc555ad35385e969381e531e1a587e3e2 | |
parent | aaf283a81b39d6fc3d2ff493abaf14c318887a79 (diff) | |
parent | 33d5a1ee95c78f2d67fcb4f5d217edb9b1a13301 (diff) | |
download | factory-boy-ff9d0f536bc443b81e6c95cf31644b6e19236538.tar factory-boy-ff9d0f536bc443b81e6c95cf31644b6e19236538.tar.gz |
Merge pull request #5 from eyvoro/patch-1
Update README.rst
-rw-r--r-- | README.rst | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |