提交 fcbd7b49 编写于 作者: P Pablo Hoffman

Merge pull request #596 from darkrho/doc-pipeline

DOC Use pipelines module name instead of pipieline following default project files.
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册