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