摘要:
1.库版本 supervisor 4.2.5 django-celery-beat 2.5.0 django-celery-results 2.5.1 Django 4.2.6 环境: Linux项目路径:/opt/new/new_project 2.制作软连接已知,Python的安装目录是 /us 阅读全文
posted @ 2023-10-26 18:38
lytcreate
阅读(174)
评论(0)
推荐(0)
摘要:
以root身份登录数据库后执行: UPDATE mysql.user SET host='%' WHERE user='root'; FLUSH PRIVILEGES; 阅读全文
posted @ 2023-10-26 17:45
lytcreate
阅读(361)
评论(0)
推荐(0)
摘要:
报错信息: File "/opt/new/new_project/new_project/__init__.py", line 5, in <module> from . import tasks File "/opt/new/new_project/new_project/tasks.py", l 阅读全文
posted @ 2023-10-26 17:42
lytcreate
阅读(206)
评论(0)
推荐(0)
摘要:
1.先安装pymysql库 2.在settings.py同级目录下的__init__.py里面的最顶部,一定是最顶部加入: import pymysql pymysql.install_as_MySQLdb() 阅读全文
posted @ 2023-10-26 17:37
lytcreate
阅读(64)
评论(0)
推荐(0)
摘要:
项目启动时有报错,但是无法知道具体信息: [root@Master new_project]# python3 manage.py runserver Watching for file changes with StatReloader Exception in thread django-mai 阅读全文
posted @ 2023-10-26 17:17
lytcreate
阅读(363)
评论(0)
推荐(0)
摘要:
1.库版本celery 5.3.4Django 4.2.6django-celery-beat 2.5.0django-celery-results 2.5.1django-timezone-field 6.0.1eventlet 0.33.3flower 2.0.1redis 3.5.3项目名称: 阅读全文
posted @ 2023-10-26 11:56
lytcreate
阅读(507)
评论(0)
推荐(0)

浙公网安备 33010602011771号