summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2015-10-20 23:18:22 +0200
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2015-10-20 23:18:22 +0200
commitf30c7b243a112eb07af0bcddbd9a211596ed80d7 (patch)
treeb935c1025fe73d6d033fd2e52afda1ebfdcb8125 /docs
parent15f328350311ee46f84c628310e58e4ed8b49e13 (diff)
downloadfactory-boy-f30c7b243a112eb07af0bcddbd9a211596ed80d7.tar
factory-boy-f30c7b243a112eb07af0bcddbd9a211596ed80d7.tar.gz
Lazy load django's get_model (Closes #228).
Loading this function will, on pre-1.8 versions, load Django settings. We'll lazy-load it to avoid crashes when Django hasn't been configured yet (e.g in auto-discovery test setups).
Diffstat (limited to 'docs')
-rw-r--r--docs/changelog.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 01d5775..24c01aa 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -21,6 +21,7 @@ ChangeLog
- :issue:`201`: Properly handle custom Django managers when dealing with abstract Django models.
- :issue:`212`: Fix :meth:`factory.django.mute_signals` to handle Django's signal caching
+ - :issue:`228`: Don't load :func:`django.apps.apps.get_model()` until required
.. _v2.5.2: