summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2013-10-05 18:43:52 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2013-10-05 18:43:52 +0200
commit6834fd72331f186a1f1fe793e193b3cfba36d5b7 (patch)
treee5daeaa7c8e40fb0e1311020e1742089106537f1
parent21d38cabdf02ca8098c6209ebe922092de8a1806 (diff)
downloadfactory-boy-6834fd72331f186a1f1fe793e193b3cfba36d5b7.tar
factory-boy-6834fd72331f186a1f1fe793e193b3cfba36d5b7.tar.gz
doc: Fix typo in django notes.
-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.