1. 测试django celery时,把setting.py的DEBUG = Flase,出现css、js文件无法加载。
    解决办法:
    DEBUG = True
  2. ValueError: MySQL backend does not support timezone-aware datetimes when USE_TZ is False.
    解决办法:
    USE_TZ = True

3.UserWarning: Using settings.DEBUG leads to a memory leak, never use this setting in production environments!
解决办法:
USE_TZ = Flase

相关文章:

  • 2021-12-06
  • 2021-11-20
  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
  • 2022-01-24
  • 2021-10-30
猜你喜欢
  • 2021-10-10
  • 2021-11-17
  • 2021-07-30
  • 2021-12-19
  • 2021-11-07
  • 2022-12-23
  • 2021-09-28
相关资源
相似解决方案