This commit is contained in:
guange 2019-01-22 14:27:11 +08:00
parent b28758032f
commit 22e7d9cfb8
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ def _render_json(data):
def crawl_info(request): def crawl_info(request):
_crawl_info = CrawlInfos.objects.order_by('-id').first() _crawl_info = CrawlInfos.objects.order_by('-id').first()
data = json.loads(serialize('json',[_crawl_info]))[0] data = json.loads(serialize('json',[_crawl_info]))[0]["fields"]
return _render_json(data) return _render_json(data)