12 2020 档案
摘要:简单的问题描述: 1. Django后台配置的上海时间 2. postgresql采用了默认UTC时间 3. 后台跟数据库差了8个小时,页面显示没得问题 4. 当通过orm执行原生SQL的时候发现按照小时统计的结果还是晚了八个小时 网上找了很多教程,有让改postgresql配置文件,timezon
阅读全文
摘要:# -*- coding: utf-8 -*- import time import requests import httpx import aiohttp import asyncio url = 'https://www.baidu.com/' # ######################
阅读全文