diff --git a/chapter2/mysite/myapp/views.py b/chapter2/mysite/myapp/views.py index 6ffccd2..f34f86e 100644 --- a/chapter2/mysite/myapp/views.py +++ b/chapter2/mysite/myapp/views.py @@ -1,7 +1,7 @@ from django.shortcuts import render from django.http import HttpResponse from . import scrapy_client -from myapp.models import CrawlInfos, PlatformInfos +from myapp.models import CrawlInfos, PlatformInfos, News from myapp.utils import get_platform_info import json