diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2013-10-05 18:43:52 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2013-10-05 18:43:52 +0200 |
commit | 6834fd72331f186a1f1fe793e193b3cfba36d5b7 (patch) | |
tree | e5daeaa7c8e40fb0e1311020e1742089106537f1 /docs | |
parent | 21d38cabdf02ca8098c6209ebe922092de8a1806 (diff) | |
download | factory-boy-6834fd72331f186a1f1fe793e193b3cfba36d5b7.tar factory-boy-6834fd72331f186a1f1fe793e193b3cfba36d5b7.tar.gz |
doc: Fix typo in django notes.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/orms.rst | 2 |
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. |