Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#33896 closed Bug (invalid)

TypeError: requires_system_checks must be a list or tuple.

Reported by: Eugene Lam Owned by:
Component: Core (Management commands) Version: 4.1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

https://i.imgur.com/SuwOuNm.png https://imgur.com/SuwOuNm

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.

Change History (3)

comment:1 by Mariusz Felisiak, 21 months ago

Resolution: invalid
Status: newclosed
Summary: [Django 4.1] TypeError: requires_system_checks must be a list or tuple.TypeError: requires_system_checks must be a list or tuple.

Support for boolean values was deprecated in Django 3.2 and removed in Django 4.1 (see #31546, c60524c658f197f645b638f9bcc553103bfe2630, and 1cb495074f6d983096a015736fed16176588cd33).

comment:2 by Mariusz Felisiak, 21 months ago

Component: Error reportingCore (Management commands)

in reply to:  1 comment:3 by Eugene Lam, 21 months ago

Replying to Mariusz Felisiak:

Support for boolean values was deprecated in Django 3.2 and removed in Django 4.1 (see #31546, c60524c658f197f645b638f9bcc553103bfe2630, and 1cb495074f6d983096a015736fed16176588cd33).

thank you

Note: See TracTickets for help on using tickets.
Back to Top