12 2020 档案

摘要:简单的问题描述: 1. Django后台配置的上海时间 2. postgresql采用了默认UTC时间 3. 后台跟数据库差了8个小时,页面显示没得问题 4. 当通过orm执行原生SQL的时候发现按照小时统计的结果还是晚了八个小时 网上找了很多教程,有让改postgresql配置文件,timezon 阅读全文
posted @ 2020-12-23 19:12 一石数字欠我15w!!! 阅读(2463) 评论(0) 推荐(1) 编辑
摘要:# -*- coding: utf-8 -*- import time import requests import httpx import aiohttp import asyncio url = 'https://www.baidu.com/' # ###################### 阅读全文
posted @ 2020-12-16 14:55 一石数字欠我15w!!! 阅读(201) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示