提交 8a3a6236 编写于 作者: J Julia Medina

Settings topic updated

上级 00e6470e
......@@ -35,22 +35,23 @@ Settings can be populated using different mechanisms, each of which having a
different precedence. Here is the list of them in decreasing order of
precedence:
1. Global overrides (most precedence)
1. Command line options (most precedence)
2. Project settings module
3. Default settings per-command
4. Default global settings (less precedence)
These mechanisms are described in more detail below.
The population of these settings sources is taken care of internally, but a
manual handling is possible using API calls. See the
:ref:`topics-api-settings` topic for reference.
1. Global overrides
-------------------
These mechanisms are described in more detail below.
Global overrides are the ones that take most precedence, and are usually
populated by command-line options. You can also override one (or more) settings
from command line using the ``-s`` (or ``--set``) command line option.
1. Command line options
-----------------------
For more information see the :attr:`~scrapy.settings.Settings.overrides`
Settings attribute.
Arguments provided by the command line are the ones that take most precedence,
overriding any other options. You can explicitly override one (or more)
settings using the ``-s`` (or ``--set``) command line option.
.. highlight:: sh
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册