diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-02-24 00:07:53 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2012-02-24 00:07:53 +0100 |
commit | 2a1138550b3220b6f8cd23bae5fed03f0fb448cf (patch) | |
tree | 38b6b352c3efead96a410dddb5b524af2d22a9e2 /factory/containers.py | |
parent | ff9d0f536bc443b81e6c95cf31644b6e19236538 (diff) | |
download | factory-boy-2a1138550b3220b6f8cd23bae5fed03f0fb448cf.tar factory-boy-2a1138550b3220b6f8cd23bae5fed03f0fb448cf.tar.gz |
Allow using '__' in factory.SelfAttribute.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Diffstat (limited to 'factory/containers.py')
-rw-r--r-- | factory/containers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/factory/containers.py b/factory/containers.py index dd11f5f..ef97548 100644 --- a/factory/containers.py +++ b/factory/containers.py @@ -26,7 +26,7 @@ from factory import declarations #: String for splitting an attribute name into a #: (subfactory_name, subfactory_field) tuple. -ATTR_SPLITTER = '__' +ATTR_SPLITTER = declarations.ATTR_SPLITTER class CyclicDefinitionError(Exception): |