aboutsummaryrefslogtreecommitdiff
path: root/tests/test_utils.py
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2015-05-20 23:24:45 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2015-05-20 23:24:45 +0200
commitfa6d60d17ddb7b70c6bc2337d901ef8cc924e67b (patch)
tree83fb2851ab7dd64a54732159d3099488193aac02 /tests/test_utils.py
parent536ac1b0fe7c4a04ad144022d6394b994feccdfd (diff)
downloadfactory-boy-fa6d60d17ddb7b70c6bc2337d901ef8cc924e67b.tar
factory-boy-fa6d60d17ddb7b70c6bc2337d901ef8cc924e67b.tar.gz
Add Meta.rename to handle name conflicts (See #206).
Define ``Meta.rename = {'attrs': 'attributes'}`` if your model expects a ``attributes`` kwarg but you can't define it since it's already reserved by the ``Factory`` class.
Diffstat (limited to 'tests/test_utils.py')
0 files changed, 0 insertions, 0 deletions