For one thing, I don't know of anybody who uses IDLE as their editor for writing complex code like when developing a website with Django.
You can always type 'python manage.py runserver' instead of just 'manage.py runserver' to make sure python is the program that's opening your .py file. It seems like you have a problem with your file associations. To fix this, go to the registry (Start Menu, Run, regedit) and browse to: *HKEY_CLASSES_ROOT\Python.File\shell\open\command* You should have a string there named '(Default') and its value should be exactly this (including quotes): *"C:\Python26\python.exe" "%1" %** You could have a different python path depending on your installation (say, C:\Program Files\Python27), but you get the gist. Don't forget the quotes and the trailing %* Cheers, AT On Mon, May 28, 2012 at 9:37 AM, coded kid <duffleboi...@gmail.com> wrote: > I'm in a big mess now, I've lost my projects due to this errror. I'm > on windows, This is how I encounter the problem; I try to edit my > settings.py in IDLE. After right clicking on the files, I choose open > program with these default file. I choose idle window bat file, and I > clicked Ok. It didn't open, I try to run manage.py runserver on my > DOS. Not working, it will pop up the IDLE Shell and mange.py script by > displaying it in IDLE. It didn't run the server. The logo of my python > files have changed. How can I revert it back to open with IDLE? And > use it as default for my python script? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.