Creating a Django Project under Windows

Source: Internet
Author: User
Tags django tutorial

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.