Recently I started to learn Django, started to create a project, saw the Django tutorial online, wrote the first Django program, and previously installed Django, so there was no big problem at first, with the further creation of the project, Discover how easy it is to create Django under Windows, and don't want to open Ubuntu all day, maybe it's a system that's used to Windows, and it's not like opening a Linux system, trying to develop with windows, I guess I should be able to develop, Just some may not be too smooth, the following is just facing a problem to explain, I hope that the same as me with the development of the Windows Django Small partners encounter similar problems can be solved.
When you create the first project, the following program always appears python:can ' t open file ' django-admin.py ': [Errno 2] No such file or directory error, also appears ' DJ Ango-admin.py ' is not an internal or external command, or an error such as a running program or batch file.
django-admin.py Startproject MySite
View Code
So Baidu Google, found that most of the solution is Linux system, so give up, saw a simple blog on the Django development of an article, to find this article, to solve the problem, but also a worry, the solution is
Django-admin Startproject Blog
One word difference, very diverse!!!
Creating a Django Project under Windows