From be85908f5205810083c524a25c7da565788f2c03 Mon Sep 17 00:00:00 2001 From: Raphaƫl Barrois Date: Sat, 7 Nov 2015 10:08:47 +0100 Subject: Fix obsolete text in docs (Closes #245, #248, #249). Thanks a lot to Jeff Widman for spotting them! --- docs/changelog.rst | 2 -- docs/reference.rst | 2 +- examples/flask_alchemy/demoapp_factories.py | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 32d8da6..fa542f4 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -131,8 +131,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` 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 -- cgit v1.2.3