diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-01-02 17:05:42 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-01-02 17:05:42 +0100 |
commit | 5620221c13398a09cbf2ded1b22ac8304f3f5c27 (patch) | |
tree | 35a3ab5afd37763a7c4a8d5ee9e9ff91439ace59 | |
parent | 41ad5d00acdffaf9c7c59cc3cd7c0dd19c2c7600 (diff) | |
download | factory-boy-5620221c13398a09cbf2ded1b22ac8304f3f5c27.tar factory-boy-5620221c13398a09cbf2ded1b22ac8304f3f5c27.tar.gz |
Fix kwargs syntax in README custom creation section.
Thanks to 'Lispython' (https://github.com/Lispython) for finding the mistake.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
-rw-r--r-- | README.rst | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -187,7 +187,7 @@ Factory._prepare method:: @classmethod def _prepare(cls, create, **kwargs): password = kwargs.pop('password', None) - user = super(UserFactory, cls)._prepare(create, kwargs) + user = super(UserFactory, cls)._prepare(create, **kwargs) if password: user.set_password(user) if create: |