summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2015-11-07 10:08:47 +0100
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2015-11-07 10:08:47 +0100
commitbe85908f5205810083c524a25c7da565788f2c03 (patch)
tree58a555af97e73e3971385536ab414884faa7ed5e
parente1bf839f80398d5bd5465cf5fa9463915f887c18 (diff)
downloadfactory-boy-be85908f5205810083c524a25c7da565788f2c03.tar
factory-boy-be85908f5205810083c524a25c7da565788f2c03.tar.gz
Fix obsolete text in docs (Closes #245, #248, #249).
Thanks a lot to Jeff Widman for spotting them!
-rw-r--r--docs/changelog.rst2
-rw-r--r--docs/reference.rst2
-rw-r--r--examples/flask_alchemy/demoapp_factories.py1
3 files changed, 1 insertions, 4 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 32d8da6..fa542f4 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -132,8 +132,6 @@ This takes care of all ``FACTORY_FOR`` occurences; the files containing other at
For :class:`factory.Factory`:
* Rename :attr:`~factory.Factory.FACTORY_FOR` to :attr:`~factory.FactoryOptions.model`
-
- * Rename :attr:`~factory.Factory.FACTORY_FOR` to :attr:`~factory.FactoryOptions.model`
* Rename :attr:`~factory.Factory.ABSTRACT_FACTORY` to :attr:`~factory.FactoryOptions.abstract`
* Rename :attr:`~factory.Factory.FACTORY_STRATEGY` to :attr:`~factory.FactoryOptions.strategy`
* Rename :attr:`~factory.Factory.FACTORY_ARG_PARAMETERS` to :attr:`~factory.FactoryOptions.inline_args`
diff --git a/docs/reference.rst b/docs/reference.rst
index 3a57c66..6398d9a 100644
--- a/docs/reference.rst
+++ b/docs/reference.rst
@@ -634,7 +634,7 @@ This declaration takes a single argument, a function accepting a single paramete
.. note:: An extra kwarg argument, ``type``, may be provided.
- This feature is deprecated in 1.3.0 and will be removed in 2.0.0.
+ This feature was deprecated in 1.3.0 and will be removed in 2.0.0.
.. code-block:: python
diff --git a/examples/flask_alchemy/demoapp_factories.py b/examples/flask_alchemy/demoapp_factories.py
index 6b71d04..f32f8c3 100644
--- a/examples/flask_alchemy/demoapp_factories.py
+++ b/examples/flask_alchemy/demoapp_factories.py
@@ -1,5 +1,4 @@
import factory
-import factory.alchemy
import factory.fuzzy
import demoapp