Replace the VERSION vars.

This commit is contained in:
Andrey Rakhmatullin 2023-09-15 19:19:42 +04:00
parent c2346b4a95
commit 2fa768399a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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