diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-02-01 22:25:29 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-02-01 22:25:29 +0100 |
| commit | 0412b7d28072ddef7dc1d0b363b6c6c88a439be8 (patch) | |
| tree | 54ac055dcce0482821fe2da461c9e5d79e72a191 | |
| parent | d75a54c184ef322fb427972ff86190c8e8cbf481 (diff) | |
Avoided ambiguous output when runserver port is already in use.
Thanks James Pic for the suggestion (PR 88).
| -rw-r--r-- | django/core/management/commands/runserver.py | 2 | ||||
| -rw-r--r-- | docs/intro/tutorial01.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/core/management/commands/runserver.py b/django/core/management/commands/runserver.py index 391e0b440a..0ca15fdb6f 100644 --- a/django/core/management/commands/runserver.py +++ b/django/core/management/commands/runserver.py @@ -93,7 +93,7 @@ class Command(BaseCommand): self.stdout.write(( "%(started_at)s\n" "Django version %(version)s, using settings %(settings)r\n" - "Development server is running at http://%(addr)s:%(port)s/\n" + "Starting development server at http://%(addr)s:%(port)s/\n" "Quit the server with %(quit_command)s.\n" ) % { "started_at": datetime.now().strftime('%B %d, %Y - %X'), diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index 7a7221c71d..a73db714f4 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -138,7 +138,7 @@ see the following output on the command line: 0 errors found |today| - 15:50:53 Django version |version|, using settings 'mysite.settings' - Development server is running at http://127.0.0.1:8000/ + Starting development server at http://127.0.0.1:8000/ Quit the server with CONTROL-C. You've started the Django development server, a lightweight Web server written |
