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 answers
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
- Django Admin Panel and Sub URLs Returning 404 Error on Deployment
- How to return HTTP Get request response from models class in Django project
- Issue with Quantity Increment in Django E-commerce Cart
- Can't install Pipenv on Windows
- use dict from python in django html template and also in js
- 'pyodbc.Cursor' object has no attribute 'callproc', mssql with django
- Django socketio process
- Root path analogue in uWSGI as in Uvicorn
- Django - ModuleNotFoundError: No module named 'backend'
- Does Python being a loosely typed programming language make it less secure?
- sorl-thumbnail adds a background color when padding is used
- Can't connect to local postgresql server from my docker container
- Why ProductHunt api dont work with Python?
- why i have to put extra space in before write option selected because it show error if i don't ' option:selected'
- Django Arrayfield migration to cloud sql (Postgresql) not creating the column
Related Questions in WINDOWS-7
- "Encountered an issue where Windows 7 could not properly move the stage2 part to the specified location while writing the dual-boot bootloader
- In Windows 7 _ Is It Possible to widen the arrow button next to Switch Off button on Start Menu?
- Assign fake MAC Address to Wireguard Virtual NIC?
- Considering Proxmox to replace individual legacy PCs and LAN servers
- will gwbasic run on 32 bit windows 7
- What is the latest version of Cygwin's Setup that will run in Windows 7?
- How to restore data of a shortcut file
- Failed to create virtualenv or venv on certain Windows7 PC using Winpython 3.8.10 distribution
- MiniDumpWriteDump execution error on Windows 7
- How to use http/2 for ASP.NET Core Web app on win 7?
- DLL not found when Debugg using Windbg for Windows7
- WMI Win32_PnpEntity Class "Description" and "Caption" properties are working on Win7 but not working on Win10
- How can i make an executable file from Python project written on Windows 11 to run on Windows 7?
- Possible to force MSYS2 MINGW to build without UCRT?
- Produce a Windows Crash Dump Without User Intervention And Get An Error Dialog
Related Questions in INTERNET-EXPLORER-6
- Stretch left block's height relative to right block's height
- Reliably Detect IE7 in IE6 document mode
- How to feature-check for three-equals-signs operator and promises support in JS?
- How do I make Chrome behave as IE5/IE6
- *IE6 Only*: There's no scrollbar to push down the footer... Relative parent> Absolute child > Relative child
- How can I support ancient browsers on my webserver?
- SWT 3.7.2 Browser Widget | Internet Explorer Mobile 6
- Displaying picture using OBJECT tag when run under compatibility mode in IE11
- Image inside of the div is displayed outside of it
- IE6 Script Tag error
- How can I upload files asynchronously without jQuery and support IE6-9?
- How to configure nginx ssl to support ie6
- Can I make javascript run a function when it encounters an undefined element?
- JavaScript validating input only contains integers on submit
- After an onpaste event in a contentEditable node, how can I iterate through all the pasted nodes? (especially in older versions of IE)
Related Questions in XP-MODE
- How to license XP Mode on Hyper-V
- Starting a vm "Windows XP Mode" programmatically through a C# program Windows 7
- Compiling vb project using VBC throwing error
- Is there a way to psexec into my own virtual machine (windows xp mode)?
- VS2010 Premium 'Connect To TFS' window not staying open
- How can I bind my VS 2003 / XP Mode Project to the appropriate Server folders location with TFS?
- How can I attach to an existing TFS project in VS 2003 / XP Mode?
- Should I allow a TFS housekeeping file to be overwritten during a merge?
- How can I programmatically access the C Drive on an XPMode Virtual Machine?
- How can I resolve these err msgs following a TFS "Get Latest Version (Recursion)"?
- How can I run my Windows CE project from within Visual Studio (2003)?
- Running application in XP Mode and Outlook
- Powershell code works in editor but not in Powershell cmd it self?
- Powershell: how to find the other -ExpandProperty's
- Old XP software on Windows 7 Compatibility Mode
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?
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)
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.