summaryrefslogtreecommitdiff
path: root/factory/containers.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2012-02-24 00:07:53 +0100
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2012-02-24 00:07:53 +0100
commit2a1138550b3220b6f8cd23bae5fed03f0fb448cf (patch)
tree38b6b352c3efead96a410dddb5b524af2d22a9e2 /factory/containers.py
parentff9d0f536bc443b81e6c95cf31644b6e19236538 (diff)
downloadfactory-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.py2
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):