SyntaxError: Generator expression must be parenthesized

后端 未结 8 2048
情深已故
情深已故 2020-12-29 18:52

I just installed django and after installing that I created a django project and was trying to run django server by command:

python manage.py runserver
         


        
8条回答
  •  借酒劲吻你
    2020-12-29 19:17

    This is due to the version incompatibility.Just we need to upgrade the Django version to 2.1. Run the command in cmd:Pip install django==2.1. this will resolve the issue

提交回复
热议问题