From b878f60b5ab90b6af892f6aeba08d6020ee831fc Mon Sep 17 00:00:00 2001 From: Brian Lange Date: Tue, 19 Nov 2013 16:12:54 -0600 Subject: [PATCH 1/2] Add note to item-pipeline documentation explaining order in the ITEM_PIPELINES setting. --- docs/topics/item-pipeline.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/topics/item-pipeline.rst b/docs/topics/item-pipeline.rst index 025469528..886db053a 100644 --- a/docs/topics/item-pipeline.rst +++ b/docs/topics/item-pipeline.rst @@ -138,3 +138,7 @@ To activate an Item Pipeline component you must add its class to the 'myproject.pipeline.PricePipeline': 300, 'myproject.pipeline.JsonWriterPipeline': 800, } + +The integer values you assign to classes in this setting determine the +order they run in. It's customary to define them in the 0-1000 range. + From e4c1d8d37d9ac1cb45a0f6ce005a04288f6d8deb Mon Sep 17 00:00:00 2001 From: Brian Lange Date: Tue, 19 Nov 2013 17:51:50 -0600 Subject: [PATCH 2/2] Elaborate on use of order numbers --- docs/topics/item-pipeline.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/topics/item-pipeline.rst b/docs/topics/item-pipeline.rst index 886db053a..f09153308 100644 --- a/docs/topics/item-pipeline.rst +++ b/docs/topics/item-pipeline.rst @@ -140,5 +140,6 @@ To activate an Item Pipeline component you must add its class to the } The integer values you assign to classes in this setting determine the -order they run in. It's customary to define them in the 0-1000 range. +order they run in- items go through pipelines from order number low to +high. It's customary to define these numbers in the 0-1000 range.