Skip to content

Commit

Permalink
修改数据库地址
Browse files Browse the repository at this point in the history
  • Loading branch information
liangWenPeng committed Oct 31, 2017
1 parent 00bb9d3 commit 1d3d83d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scrapy_admin/settings.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

# mongodb数据库
MONGODB_URI = 'mongodb://spider:[email protected]:27017'
MONGODB_DATABASE = 'lcworld'
MONGO_STATES_COLLECTION = 'spider_state'
MONGODB_URI = ''
MONGODB_DATABASE = ''
MONGO_STATES_COLLECTION = ''

DEBUG = True
ALLOWED_HOSTS = ['*']


# if DEBUG:
# MONGODB_URI = 'mongodb://localhost:27017'

0 comments on commit 1d3d83d

Please sign in to comment.