mirror of https://github.com/scrapy/scrapy.git
DOC Use pipelines module name instead of pipieline following default project files.
This commit is contained in:
parent
180fc98cd8
commit
28f946b05f
|
|
@ -134,8 +134,8 @@ To activate an Item Pipeline component you must add its class to the
|
|||
:setting:`ITEM_PIPELINES` setting, like in the following example::
|
||||
|
||||
ITEM_PIPELINES = {
|
||||
'myproject.pipeline.PricePipeline': 300,
|
||||
'myproject.pipeline.JsonWriterPipeline': 800,
|
||||
'myproject.pipelines.PricePipeline': 300,
|
||||
'myproject.pipelines.JsonWriterPipeline': 800,
|
||||
}
|
||||
|
||||
The integer values you assign to classes in this setting determine the
|
||||
|
|
|
|||
|
|
@ -474,8 +474,8 @@ but they are deprecated.
|
|||
Example::
|
||||
|
||||
ITEM_PIPELINES = {
|
||||
'mybot.pipeline.validate.ValidateMyItem': 300,
|
||||
'mybot.pipeline.validate.StoreMyItem': 800,
|
||||
'mybot.pipelines.validate.ValidateMyItem': 300,
|
||||
'mybot.pipelines.validate.StoreMyItem': 800,
|
||||
}
|
||||
|
||||
.. setting:: ITEM_PIPELINES_BASE
|
||||
|
|
|
|||
Loading…
Reference in New Issue