Use the development server on the network

1
2
python manage.py runserver [ip_host]:[port] 
ip_host is the ip of your local machine, otherwise the server only binds to loopback

More like this

  1. run "silent" dev server by justinlilly 6 years, 10 months ago
  2. showing environment variables in the django admin by tonemcd 4 years, 2 months ago
  3. Setting distinction between development and public server by Archatas 7 years, 1 month ago
  4. Effective content caching for mass-load site using redirect feature by nnseva 2 years, 9 months ago
  5. A smart trace() command by aparajita 4 years, 10 months ago

Comments

gregarmer (on March 9, 2011):

Alternatively, you can use 0.0.0.0:[port] to bind to all interfaces on your machine.

#

(Forgotten your password?)