From bbd41bda337e56f6c15b4d6578bab23dd3a398a7 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Thu, 16 Apr 2009 15:32:06 +0000 Subject: [PATCH] more cleanup of default project settings templates and added a notice as suggested by Mark Ellul --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%401062 --- .../templates/project/module/settings.py.tmpl | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/scrapy/trunk/scrapy/templates/project/module/settings.py.tmpl b/scrapy/trunk/scrapy/templates/project/module/settings.py.tmpl index 58d92b540..37a58196c 100644 --- a/scrapy/trunk/scrapy/templates/project/module/settings.py.tmpl +++ b/scrapy/trunk/scrapy/templates/project/module/settings.py.tmpl @@ -1,4 +1,14 @@ # Scrapy settings for $project_name project +# +# For simplicity, this file contains only the most important settings by +# default. All the other settings are documented here +# +# http://doc.scrapy.org/ref/settings.html +# +# Or you can copy and paste them from where they're defined in Scrapy: +# +# scrapy/conf/default_settings.py +# import $project_name @@ -13,10 +23,3 @@ TEMPLATES_DIR = '%s/templates' % $project_name.__path__[0] DEFAULT_ITEM_CLASS = '$project_name.item.${ProjectName}Item' USER_AGENT = '%s/%s' % (BOT_NAME, BOT_VERSION) -# uncomment if you want to add your own custom scrapy commands -#COMMANDS_MODULE = '$project_name.commands' -#COMMANDS_SETTINGS_MODULE = '$project_name.conf.commands' - -# global mail sending settings -#MAIL_HOST = 'localhost' -#MAIL_FROM = 'scrapybot@localhost'