SyntaxError: Generator expression must be parenthesized

后端 未结 8 2068
情深已故
情深已故 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:38

    Had same issue. This is how I changed to django version 2.0 and used python3

    • $pip3 install django==2.0
    • $python3 manage.py runserver

提交回复
热议问题