英文:
Django 4.1.9 requires_system_checks issue with manage.py - is this a bug or not
问题
Django 4.1.9在manage.py中的requires_system_checks问题 - 这是一个错误吗?
我们正在将我们的wagtail 4.2.2应用程序从django 3.1.9升级到django 4.1.9
出现以下错误
在运行以下命令时
python manage.py runserver_plus 0.0.0.0:8020 --keep-meta-shutdown
这是一个错误吗,是否可以解决?
我是否可以对BaseCommand.__init__()进行猴子补丁以设置requires_system_checks = []?```
<details>
<summary>英文:</summary>
Django 4.1.9 requires_system_checks issue with manage.py - is this a bug or not
we are upgrading our wagtail 4.2.2 app to from django 3.1.9 to django 4.1.9
getting the error
TypeError: requires_system_checks must be a list or tuple.
when running
python manage.py runserver_plus 0.0.0.0:8020 --keep-meta-shutdown
Is this a bug and / or can i be worked around
Could I monkey patch BaseCommand.__init__() to set requires_system_checks = []
</details>
# 答案1
**得分**: 3
已升级依赖项django-extensions到最新版本3.2.1,已解决问题。
<details>
<summary>英文:</summary>
Resolved issue by upgrading dependancy django-extensions to latest version 3.2.1
</details>
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论