Skip to content
Browse files

Adds few lines about Distillery.bulk()

  • Loading branch information...
1 parent f31e981 commit 6e892f9e957b65b0152c00a95a5ec57b9ae95fdd @jeanphix jeanphix committed Mar 5, 2013
Showing with 11 additions and 0 deletions.
  1. +11 −0 README.rst
View
11 README.rst
@@ -112,6 +112,17 @@ Inits, populates and persists an instance:
assert user.id is not None
+Distillery.bulk()
+~~~~~~~~~~~~~~~~~
+
+Massively creates instances.
+
+.. code-block:: python
+
+ users = UserDistillery.bulk(12, username='user_%(i)%')
+ assert users[7].username = 'user_7'
+
+
Datasets
--------

0 comments on commit 6e892f9

Please sign in to comment.
Something went wrong with that request. Please try again.