#========================================================== # 设置时区 注意注释上面的:LANGUAGE_CODE、TIME_ZONE、USE_TZ LANGUAGE_CODE = 'zh-Hans' # 中文编码 TIME_ZONE = 'Asia/Harbin' # 时区 USE_TZ = False # 不使用默认时区 # 设置静态文件指向 STATICFILES_DIRS = [ os.path.join(BASE_DIR,'static'), ] # 常见的时区有:['Asia/Shanghai', 'Asia/Harbin', 'Asia/Chongqing', 'Asia/Urumqi', 'Asia/Kashgar'] #===========================================================