Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed inaccuracy in runserver outpout. #88

Closed
wants to merge 2 commits into from
Closed

Fixed inaccuracy in runserver outpout. #88

wants to merge 2 commits into from

Commits on May 22, 2012

  1. Fixed inaccuracy in runserver outpout.

    Using runserver looks like:
    
        >>> ./manage.py runserver
        Validating models...
    
        0 errors found
        Django version 1.4, using settings 'test_project.settings'
        Development server is running at http://127.0.0.1:8000/
        Quit the server with CONTROL-C.
    
    The problem is that if the port is already bound, it will look like:
    
        >>> ./manage.py runserver
        Validating models...
    
        0 errors found
        Django version 1.4, using settings 'test_project.settings'
        Development server is running at http://127.0.0.1:8000/
        Quit the server with CONTROL-C.
        Error: That port is already in use.
    
    Which misleads the system administrator who may think that runserver
    double bound that port.
    
    With this patch, it looks like:
    
        >>> ./manage.py runserver
        Validating models...
    
         0 errors found
         Django version 1.5.dev20120521232858, using settings 'test_project.settings'
         Development server is starting at http://127.0.0.1:8000/
         Quit the server with CONTROL-C.
         Error: That port is already in use.
    
    Which is accurate.
    
    Credit to William Waisse for reporting the issue.
    jpic committed May 22, 2012
    Copy the full SHA
    6a4ac00 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2012

  1. Reflect 6a4ac00 in docs

    jpic committed Jun 6, 2012
    Copy the full SHA
    cea25c6 View commit details
    Browse the repository at this point in the history