diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index 3006fb8b1..7cdfb8768 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -98,7 +98,7 @@ and settings set there should use the "spider" priority explicitly: super().update_settings(settings) settings.set("SOME_SETTING", "some value", priority="spider") -.. versionadded:: VERSION +.. versionadded:: 2.11 It's also possible to modify the settings in the :meth:`~scrapy.Spider.from_crawler` method, e.g. based on :ref:`spider diff --git a/docs/topics/spiders.rst b/docs/topics/spiders.rst index 1ca7eda7b..20452d558 100644 --- a/docs/topics/spiders.rst +++ b/docs/topics/spiders.rst @@ -136,7 +136,7 @@ scrapy.Spider attributes in the new instance so they can be accessed later inside the spider's code. - .. versionchanged:: VERSION + .. versionchanged:: 2.11 The settings in ``crawler.settings`` can now be modified in this method, which is handy if you want to modify them based on