http://www.php.cn/django/django-first-app.html
Create the first project
Use django-admin.py to create the HelloWorld project:
django-admin.py startproject HelloWorld
should be changed to
django-admin startproject HelloWorld
Otherwise, the file django-admin.py will be opened directly.
小试手笔2017-09-22 00:47:43
I don’t understand either!!! Which file name is it? How can I open the correct file if I don’t add it? How do I open it if I add it!!!
PHP中文网2017-09-21 15:14:28
You need to add .py. If you open the file directly, there may be a problem with your python environment installation.