I installed Django1.3 on Windows 7 , i made sure i have Python2.7开发者_运维知识库 , Python2.7/Lib and Python2.7/lib/site-scripts/django/bin in my system PATH ...
but, when i try to make django-admin.py creates a new project :
django-admin.py startproject exampleproject
it opens djangp-admin.py file in text-editor ..
same issue is happening when trying to run GAEFramework - GAE dev_appserver.py
gaeframework/google_appengine/dev_appserver.py
How i can solve this issue ... !
Regards
You have probably set up python files to be opened by text editor by default. I just tried installing django on windows and everything works fine
you just need to associate .py
files with python. or run it explicitly:python django-admin.py startproject exampleproject
精彩评论