python manage.py runserver 出现如下警告:

/home/wenjie/work/blockchain-display/env/lib/python3.6/site-packages/pymysql/cursors.py:166: Warning: (3090, "Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release.")
  result = self._query(query)

settings中做类似如下修改后, 不再报警:

django使用mysql出现警告Warning: (3135, "'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_B

相关文章:

  • 2022-12-23
  • 2021-06-07
  • 2021-08-16
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
  • 2021-07-02
  • 2022-12-23
猜你喜欢
  • 2021-08-20
  • 2021-06-25
  • 2022-12-23
  • 2021-12-18
  • 2021-12-31
  • 2021-06-14
  • 2022-12-23
相关资源
相似解决方案