mirror of https://github.com/scrapy/scrapy.git
Replace the VERSION vars.
This commit is contained in:
parent
c2346b4a95
commit
2fa768399a
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue