mirror of https://github.com/scrapy/scrapy.git
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
This commit is contained in:
parent
3fce2496c7
commit
bbd41bda33
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue