1

I tried of creating project in Windows. When I type django-admin.py startproject projectname it takes but it won't created in folder. Everything is installed and previous project also running fine.

1
  • Is your command prompt in the right folder? Dec 30, 2017 at 7:12

2 Answers 2

4

instead of django-admin.py startproject projectname, use

django-admin startproject projectname

In windows, open folder where you want to create the project, point to empty space and press Shift and then right mouse click. Choose the option Open Command Window Here. Then in command window, just enter above command.

2
  • But it's not working .Same thing happening what was before
    – swagath
    Dec 31, 2017 at 14:06
  • Well, if you understood my answer and doing accordingly, you need to check your python and django installation.
    – Rahul
    Jan 1, 2018 at 12:54
2

in windows 10 try running below command for python version 3.6 and higher from windows powershell:

python -m django startproject django_project_1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.