I am developing a Django site using Windows 7 as my dev environment. I have IE6 running through XP mode. Accessing my site through localhost:8000 doesn't work in IE6 (probably since it is still running a VM). Is there a way to access my site in IE6 while it is being served through Django's test server running on Windows 7?
How do you debug Django sites using Win 7 XP Mode?
979 Views Asked by Jason Christa At
2
There are 2 best solutions below
0
Mohamed
On
your VM and the server running django are in two separate containers, and you can't access django app using localhost since Django is not installed on the VM. but what you can do is install IE tester http://www.my-debugbar.com/wiki/IETester/HomePage] in windows 7 to test all versions of IE.
Related Questions in DJANGO
- Display images on Django Template Site
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Django invalid literal for int() with base 10:
- Removing URL features from tokens in NLTK
- Django Noob URL to from Root Page to sub Page
- Django Admin tables not displaying correctly
- Django with chartkick
- Django urls.py not rendering correct template
- django form errors before submit
- django admin: custom app_index with context
- Display multiple models in one view in Django
- Unexpected NoReverseMatch error when using include() in urls patterns
- Search for a key in django.core.cache
- Django webapp (on an Apache2 server) hangs indefintely when importing nltk in views.py
- Django flush won't load fixtures
Related Questions in WINDOWS-7
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
- Finding the default application for a particular file name extension (Even when served by a metro app)
- Copying text from gvim editor to system clipboard works only once per session
- Command line arguments are not passed in Windows 7 - Java
- This Operation has been canceled due to restrictions in effect on this computer, Please contact your administrator
- Compiling PDCurses into ".a", error with mingw command
- NET USE command to connect to a shared folder on local LAN
- error of updating an C# web service application by accessing a URL from MS installer command "msiexec" in C# VS 2010
- Notepad++ replace "Save" Common File Dialog Box
- How to correctly have modeless form appear in taskbar
- Maven in OSX Keeps Compiling with Java 1.5
- sfInit() snowfall package in R hangs on Windows 7
- Running php file asks for download instead of executing in apache 2.5?
- How can I programatically download a file from a sharepoint server and lock it?
- parse.com .Net sdk works on windows 7?
Related Questions in INTERNET-EXPLORER-6
- CSS framework for beginner (old browsers)
- css float issue in ie6&ie7
- Background image not displaying on old IE versions
- transparent png in internet explorer 6
- CSS - IE 7 z-index problem
- Strange vertical gap on IE6 & IE7 in my form when using css for layout
- How do you make a <div> less than 13px tall in IE6?
- Jquery .next() - not compatible for ie 6+7? What should I use?
- IE6 and 7 Absolute Positioning Bug
- javascript access is denied on window resize of url from different domain
- JQuery Dialog - Because of IE 6&7 - Need to 'destroy' instead of 'close' - how to rebuild?
- Rails 3: Redirect all IE6 and IE7 traffic to an incompatible browser page
- Is there any restriction for including number of html tables for IE6?
- In an HTML table, how can I center the contents of the cells (not the table itself)?
- In an HTML table, how can I make vertical lines visible (the same kind as the default horizontal ones)?
Related Questions in XP-MODE
- Network communication with Windows 7 XP mode
- Powershell code works in editor but not in Powershell cmd it self?
- Powershell: how to find the other -ExpandProperty's
- Can I Sync Pocket Access on Windows 7?
- XP mode development in Win 7
- Cassini with Windows 7 XP Mode
- How do I get VS2010 in XPMode to see SQL server running on the host Win7 OS?
- How can I programmatically access the C Drive on an XPMode Virtual Machine?
- Should I allow a TFS housekeeping file to be overwritten during a merge?
- how to detect if my program is running under "windows xp mode" under windows 7
- Run Device Emulator 3.0 (WM6.5) in Windows XP Mode
- How do you debug Django sites using Win 7 XP Mode?
- Compiling vb project using VBC throwing error
- Starting a vm "Windows XP Mode" programmatically through a C# program Windows 7
- How to license XP Mode on Hyper-V
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
When running the Django
runserveron one machine ,but accessing it from another (or Virtual Machine in your case), be sure to:a) Have the django test server bind to an address that IE6 in the VM can access. To do this, run the server with:
b) Visit that explicit address and port in IE. For IE6, be sure to specify the 'http' protocol as IE6 doesn't like IP addresses without a protocol:
The reason for this is that, inside the VM,
localhostor127.0.0.1(the defaults for runserver) refer to the virtual machine's IP address space. If using IE6 to test, you want to refer to the host OS, so use an absolute IP address that the client VM can address. There is some documentation on this from the django project, and rest assured this is a common enough need that we all do it - testing multiple variants of IE in a virtual machine seems to be a fact of life :-)If you are still having troubles, be sure you have determined whether you're using NAT or bridged networking for your client VM as this controls the IP address, OS firewall restrictions (if any), and other avenues for communicating between a VM client and host.