diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2016-02-21 17:30:28 +0000 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2016-02-21 17:30:28 +0000 |
commit | 86beb74d28077eb1e628bfe4db33a5d6dfba3ac1 (patch) | |
tree | 46b3e2cd1e55f09ccee77f36a885ed19eebc8d87 | |
parent | 1e98b18af457b8dc5e795be8d00c226c78682942 (diff) | |
parent | a98ad593280fb7ddef0b8e019c6106da09b931dc (diff) | |
download | factory-boy-86beb74d28077eb1e628bfe4db33a5d6dfba3ac1.tar factory-boy-86beb74d28077eb1e628bfe4db33a5d6dfba3ac1.tar.gz |
Merge pull request #252 from jmcarp/patch-1
Clarify sequence behavior on inheritance
-rw-r--r-- | docs/reference.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/reference.rst b/docs/reference.rst index 9e01213..e2f63db 100644 --- a/docs/reference.rst +++ b/docs/reference.rst @@ -747,8 +747,9 @@ The sequence counter is shared across all :class:`Sequence` attributes of the Inheritance ~~~~~~~~~~~ -When a :class:`Factory` inherits from another :class:`Factory`, their -sequence counter is shared: +When a :class:`Factory` inherits from another :class:`Factory` and the `model` +of the subclass inherits from the `model` of the parent, the sequence counter +is shared across the :class:`Factory` classes: .. code-block:: python |