Hey, so basically when I try to django-admin.py startproject mysite my notepad with django-admin.py file opens up instead of creating a new actual projects. I'm on windows and just yesterday I created the project and everything was fine.
Instead of django-admin.py startproject mysite
try python django-admin.py startproject mysite
That should work, but...
...you will need to do something more if you want django-admin.py startproject mysite
to work without adding python
at the start: -
properties
opens with
section, you should be able to see notepad
. click on the change
button next to this.That should set you up, or you can always revert back for clarifications.
Your python files would be associated to open with notepad. Change the behaviour to open with IDLE/python.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With