Changed 'runserver' to display the Django version, and massaged the wording a little bit.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-02-18 23:48:11 +00:00
parent 2c443df341
commit c72afb811b
1 changed files with 2 additions and 2 deletions

View File

@ -804,8 +804,8 @@ def runserver(addr, port):
from django.conf.settings import SETTINGS_MODULE
print "Validating models..."
validate()
print "\nStarting server on port %s with settings module %r." % (port, SETTINGS_MODULE)
print "Go to http://%s:%s/ for Django." % (addr, port)
print "\nDjango version %s, using settings %r" % (get_version(), SETTINGS_MODULE)
print "Development server is running at http://%s:%s/" % (addr, port)
print "Quit the server with CONTROL-C (Unix) or CTRL-BREAK (Windows)."
try:
run(addr, int(port), AdminMediaHandler(WSGIHandler()))