diff --git a/crawler_project/settings.py b/crawler_project/settings.py index b22e738..b261270 100644 --- a/crawler_project/settings.py +++ b/crawler_project/settings.py @@ -37,7 +37,7 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', - 'crawler', + 'crawler.apps.CrawlerConfig', 'rest_framework', ] @@ -178,4 +178,4 @@ TARGET_WEBSITES = [ {'name': '宁夏纪检监察', 'url': 'http://www.qhjc.gov.cn/', 'region': '宁夏'}, {'name': '新疆纪检监察', 'url': 'https://www.xjjw.gov.cn/', 'region': '新疆'}, {'name': '新疆兵团纪检监察', 'url': 'http://btjw.xjbt.gov.cn/', 'region': '新疆兵团'}, -] +] \ No newline at end of file