The *only* way to successfully execute Django python command is with “python …PATH…django-admin.py [options]”. Why can't it be reduced?

前端 未结 2 800
情深已故
情深已故 2021-01-25 15:27

This is a followup to this question.

The first step in the Django tutorial says to call

django-admin.py startproject mysite

But here is th

2条回答
  •  执笔经年
    2021-01-25 15:48

    i got the same problem with django and got the solution at https://docs.djangoproject.com/en/1.7/howto/windows/ . It's mentioned there that if you are using Django 1.7 then we have to write django-admin instead of django-admin.py from our command prompt. hope it helped.

提交回复
热议问题