[Django] #33896: [Django 4.1] TypeError: requires_system_checks must be a list or tuple.

404 views
Skip to first unread message

Django

unread,
Aug 5, 2022, 12:36:39 AM8/5/22
to django-...@googlegroups.com
#33896: [Django 4.1] TypeError: requires_system_checks must be a list or tuple.
-------------------------------------------+------------------------
Reporter: Eugene Lam | Owner: (none)
Type: Bug | Status: new
Component: Error reporting | Version: 4.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
[[Image(https://i.imgur.com/SuwOuNm.png)]] https://imgur.com/SuwOuNm

[[Image(https://i.imgur.com/rDD6x1F.png)]] https://imgur.com/a/xlpQfth

only happened in version 4.1

Traceback (most recent call last):
2022-08-05T04:31:37.323427168Z File "/app/manage.py", line 31, in
<module>
2022-08-05T04:31:37.324939710Z execute_from_command_line(sys.argv)
2022-08-05T04:31:37.324954960Z File "/usr/local/lib/python3.9/site-
packages/django/core/management/__init__.py", line 446, in
execute_from_command_line
2022-08-05T04:31:37.324999293Z utility.execute()
2022-08-05T04:31:37.325020835Z File "/usr/local/lib/python3.9/site-
packages/django/core/management/__init__.py", line 440, in execute
2022-08-05T04:31:37.325512085Z
self.fetch_command(subcommand).run_from_argv(self.argv)
2022-08-05T04:31:37.325520751Z File "/usr/local/lib/python3.9/site-
packages/django/core/management/__init__.py", line 279, in fetch_command
2022-08-05T04:31:37.325554210Z klass = load_command_class(app_name,
subcommand)
2022-08-05T04:31:37.325559793Z File "/usr/local/lib/python3.9/site-
packages/django/core/management/__init__.py", line 49, in
load_command_class
2022-08-05T04:31:37.325564918Z return module.Command()
2022-08-05T04:31:37.325569418Z File "/usr/local/lib/python3.9/site-
packages/django/core/management/base.py", line 274, in __init__
2022-08-05T04:31:37.326142668Z raise TypeError("requires_system_checks
must be a list or tuple.")
2022-08-05T04:31:37.326151835Z TypeError: requires_system_checks must be a
list or tuple.

--
Ticket URL: <https://code.djangoproject.com/ticket/33896>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages