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. IPAddressField with CIDR support by SeniorHuevo 3 years, 2 months ago
  2. run "silent" dev server by justinlilly 5 years, 11 months ago
  3. DebugMiddleware footer with links to quick open file/line# in TextMate on local machine by felix_the_third 3 years, 4 months ago
  4. A smart trace() command by aparajita 3 years, 11 months ago
  5. Get Client IP Behind Proxy by brianjaystanley 1 year, 7 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?)