Testing Django on Mobile Devices
Having your website optimized for mobile is essential these days, so you'll want to make sure your Django powered website or application is as well. Here's a quick tip for testing Django on any device.
Find your computer's IP address by typing the following into a terminal:
In the output, find the IP listed after "inet" inside the "en0" entry. That's your computer's IP address on your current network.
Run your django application using your computer's IP address. Be sure to put a port after the IP:
./manage.py runserver 22.214.171.124:8000
Navigate to that IP / port combination on any device on the same network as your computer. You should see your Django application running there.
And that's it! You can now test your Django sites on a mobile device.