From 5620221c13398a09cbf2ded1b22ac8304f3f5c27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Barrois?= Date: Mon, 2 Jan 2012 17:05:42 +0100 Subject: Fix kwargs syntax in README custom creation section. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to 'Lispython' (https://github.com/Lispython) for finding the mistake. Signed-off-by: Raphaƫl Barrois --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.rst') diff --git a/README.rst b/README.rst index dba0dbe..7cd80f6 100644 --- a/README.rst +++ b/README.rst @@ -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: -- cgit v1.2.3