Skip to content

Commit

Permalink
Changed 'runserver' to display the Django version, and massaged the w…
Browse files Browse the repository at this point in the history
…ording a little bit.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Feb 18, 2006
1 parent 2c443df commit c72afb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django/core/management.py
Expand Up @@ -804,8 +804,8 @@ def inner_run():
from django.conf.settings import SETTINGS_MODULE from django.conf.settings import SETTINGS_MODULE
print "Validating models..." print "Validating models..."
validate() validate()
print "\nStarting server on port %s with settings module %r." % (port, SETTINGS_MODULE) print "\nDjango version %s, using settings %r" % (get_version(), SETTINGS_MODULE)
print "Go to http://%s:%s/ for Django." % (addr, port) print "Development server is running at http://%s:%s/" % (addr, port)
print "Quit the server with CONTROL-C (Unix) or CTRL-BREAK (Windows)." print "Quit the server with CONTROL-C (Unix) or CTRL-BREAK (Windows)."
try: try:
run(addr, int(port), AdminMediaHandler(WSGIHandler())) run(addr, int(port), AdminMediaHandler(WSGIHandler()))
Expand Down

0 comments on commit c72afb8

Please sign in to comment.