From 84c71e013bf99f0aecc3de1e67a5a3f3c6397933 Mon Sep 17 00:00:00 2001 From: Ivan Savov Date: Mon, 15 Oct 2018 22:50:08 -0400 Subject: [PATCH] Fix code example in README.md go attr `g`; found `faker` generator methods; seems to preserve the idea of the example. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f2a7f2ef..44cd852c 100644 --- a/README.rst +++ b/README.rst @@ -278,7 +278,7 @@ Quick example: :: mixer.register(Test, name=lambda: 'John', - id=lambda: str(mixer.g.get_positive_integer()) + id=lambda: str(mixer.faker.small_positive_integer()) ) test = mixer.blend(Test)