We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd10bb9 commit 31e8a41Copy full SHA for 31e8a41
1 file changed
docs/recipes.rst
@@ -52,9 +52,10 @@ simply use a :class:`factory.Iterator` on the chosen queryset:
52
53
language = factory.Iterator(models.Language.objects.all())
54
55
-Here, ``models.Language.objects.all()`` is a QuerySet and will only hit the database
56
-when factory_boy will start iterating on it, i.e on the first call to ``UserFactory``;
57
-thus avoiding DB queries at import time.
+Here, ``models.Language.objects.all()`` is a
+:class:`~django.db.models.query.QuerySet` and will only hit the database when
+``factory_boy`` starts iterating on it, i.e on the first call to
58
+``UserFactory``; thus avoiding DB queries at import time.
59
60
61
Reverse dependencies (reverse ForeignKey)
0 commit comments