Scrapy, a fast high-level web crawling & scraping framework for Python.
add doc about disabling an extension. refs #132
Pablo Hoffman227a1d666b2b
diff --git a/docs/topics/extensions.rst b/docs/topics/extensions.rstindex 71505ae5f..9a4c0bf2c 100644--- a/docs/topics/extensions.rst+++ b/docs/topics/extensions.rst@@ -62,6 +62,17 @@ Not all available extensions will be enabled. Some of them usually depend on aparticular setting. For example, the HTTP Cache extension is available by defaultbut disabled unless the :setting:`HTTPCACHE_ENABLED` setting is set.+Disabling an extension+======================++In order to disable an extension that comes enabled by default (ie. those+included in the :setting:`EXTENSIONS_BASE` setting) you must set its order to+``None``. For example::++ EXTENSIONS = {+ 'scrapy.contrib.corestats.CoreStats': None,+ }+Writing your own extension==========================