From 7a55e90b60bc6555948aa0decf2551ee5ff16175 Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Fri, 18 Jan 2019 10:27:58 +0800 Subject: [PATCH] . --- chapter2/mysite/myapp/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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