django-admin.py launches IDE
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 hap开发者_运维知识库pens 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
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.
精彩评论