From a98ad593280fb7ddef0b8e019c6106da09b931dc Mon Sep 17 00:00:00 2001 From: Joshua Carp Date: Mon, 23 Nov 2015 23:53:04 -0500 Subject: Clarify sequence behavior on inheritance Sequences are only shared via inheritance if the model of the subclass is the same as or a subclass of the model of the parent class. Clarify the docs on this point. --- docs/reference.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/reference.rst b/docs/reference.rst index 6398d9a..44300a5 100644 --- a/docs/reference.rst +++ b/docs/reference.rst @@ -711,8 +711,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 -- cgit v1.2.3