Ticket #360: dj360_539.2.diff

File dj360_539.2.diff, 546 bytes (added by fonso, 19 years ago)

Don't explicitly specify the binding address for the server (second try)

  • django/core/management.py

     
    548548    from django.core.servers.basehttp import run, AdminMediaHandler, WSGIServerException
    549549    from django.core.handlers.wsgi import WSGIHandler
    550550    if not addr:
    551         addr = '127.0.0.1'
     551        addr = ''
    552552    if not port.isdigit():
    553553        sys.stderr.write("Error: %r is not a valid port number.\n" % port)
    554554        sys.exit(1)
Back to Top