run程序的时候没有报错,但是无法显示页面。当我使用manage.py的时候出现以下错误,求解
来源:17-1 快速升级到python3.6+django2.0
慕虎2528636
2019-04-01
Failed to get real commands on module “Mxonline3”: python process died with code 1: Traceback (most recent call last):
File “D:\pycharm_pro\PyCharm 2017.1.1\helpers\pycharm_jb_manage_tasks_provider.py”, line 28, in
parser.report_data(dumper, commands_to_skip)
File “D:\pycharm_pro\PyCharm 2017.1.1\helpers\pycharm\django_manage_commands_provider_parser\parser.py”, line 90, in report_data
module_to_use.process_command(dumper, command, parser)
File “D:\pycharm_pro\PyCharm 2017.1.1\helpers\pycharm\django_manage_commands_provider_parser_argparse.py”, line 43, in process_command
argument_info = (1, _utils.get_opt_type(action))
File “D:\pycharm_pro\PyCharm 2017.1.1\helpers\pycharm\django_manage_commands_provider_parser_utils.py”, line 20, in get_opt_type
assert isinstance(opt.choices, list), "Choices should be list"
AssertionError: Choices should be list
2回答
-
慕虎2528636
提问者
2019-04-08
我打算重新跟着做。跟着一点一点就还行
00 -
慕虎2528636
提问者
2019-04-01
点击manage.py时出现
“No manage.py file specified in Settings->Django Support”的提醒
012019-04-03
相似问题