settings for django and IE9

Whenever I have

'python manage.py runserver:8000'

going, and I try opening localhost(127.0.0.1:8000) in firefox, everything goes fine.

When I try to open localhost in IE9, IE9 chokes.

To prevent this, I use

python manage.py runserver 0.0.0.0:8000 and in IE9 I navigate to http://192.168.1.100:8000, the local IP of my pc.

In Pycharm this is possible by editing run/debug configuration, and fill in 'localhost' as 0.0.0.0

and runbrowser as http://192.168.1.100:8000/

I just wanted to share this trick.

Please sign in to leave a comment.