Skip to content

Commit

Permalink
Fix code example in README.md
Browse files Browse the repository at this point in the history
go attr `g`; found `faker` generator methods; seems to preserve the idea of the example.
  • Loading branch information
ivanistheone committed Oct 16, 2018
1 parent 2301bfc commit 84c71e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -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)
Expand Down

0 comments on commit 84c71e0

Please sign in to comment.