summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/orms.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/orms.rst b/docs/orms.rst
index 33b3e0a..b720ed1 100644
--- a/docs/orms.rst
+++ b/docs/orms.rst
@@ -83,7 +83,7 @@ All factories for a Django :class:`~django.db.models.Model` should use the
FACTORY_FOR = models.MyAbstractModel
ABSTRACT_FACTORY = True
- class MyConcreteModelFactory(MyAbstractModel):
+ class MyConcreteModelFactory(MyAbstractModelFactory):
FACTORY_FOR = models.MyConcreteModel
Otherwise, factory_boy will try to get the 'next PK' counter from the abstract model.