DjangoBlog icon indicating copy to clipboard operation
DjangoBlog copied to clipboard

win11 本地部署完成后首页进不去,后台可以进去

Open lingchenma opened this issue 1 year ago • 1 comments

image image image

lingchenma avatar Dec 03 '23 16:12 lingchenma

服务器默认不都是CST 时间吗?是要把服务器的时间改成 UTC才可以吗?这个用服务器默认的不好吗?会有什么问题吗?

lingchenma avatar Dec 03 '23 17:12 lingchenma

在settings中把USE_TZ=TRUE改为FALSE

CITy12388 avatar Mar 14 '24 03:03 CITy12388

在settings中把USE_TZ=TRUE改为FALSE

感谢大佬,解决了.

lingchenma avatar Mar 14 '24 03:03 lingchenma