Reputation: 5082
I just went to create a new django project and I typed django-admin.py startproject my_project into the command prompt and it opened the django-admin.py file in my ide (komodo edit).
This happens every time I run this command in any form, even if I just try django-admin.py. Any ideas what's going on and how I fix it?
I'm on Win Xp with django 1.2.1
Upvotes: 0
Views: 204
Reputation: 375584
It sounds like you associated .py files with Komodo Edit instead of with python.exe. The simplest workaround is to type "python django-admin.py ..." to execute the admin.
You can look in your Explorer options to change the association. There's a right-click menu option I think called "Open With..." that will let you change it.
Upvotes: 3