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

我打算重新跟着做。跟着一点一点就还行

0
0

慕虎2528636

提问者

2019-04-01

点击manage.py时出现

No manage.py file specified in Settings->Django Support”的提醒

0
1
bobby
你截图我看看具体的错误呢
2019-04-03
共1条回复

Python3.6+django+xadmin,打造在线教育平台

【毕设】Python 2.7到3.6 完美适配,Django升级2.0

3677 学习 · 4038 问题

查看课程