Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Commit

Permalink
Small adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
dirtycoder committed Nov 17, 2016
1 parent 94c2d9e commit 3df7485
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/deprecation_warnings.rst
Expand Up @@ -7,4 +7,4 @@ Because of the changes of model_mommy's API, the following methods are deprecate
* `mommy.prepare_one` -> should use the method `mommy.prepare` instead
* `mommy.make_many` -> should use the method `mommy.make` with the `_quantity` parameter instead
* `mommy.make_many_from_recipe` -> should use the method `mommy.make_recipe` with the `_quantity` parameter instead
* `MOMMY_CUSTOM_FIELDS_GEN` -> should use the method `generators.add` instead
* `MOMMY_CUSTOM_FIELDS_GEN` -> should use the method `mommy.generators.add` instead
2 changes: 1 addition & 1 deletion docs/source/how_mommy_behaves.rst
Expand Up @@ -54,7 +54,7 @@ Custom fields
-------------

Model-mommy allows you to define generators methods for your custom fields or overrides its default generators.
This could be achieved by specifing the field and generator function for the `generators.set` function.
This could be achieved by specifing the field and generator function for the `generators.add` function.
Both can be the real python objects imported in settings or just specified as import path string.

Examples:
Expand Down

0 comments on commit 3df7485

Please sign in to comment.