Kaydet (Commit) c72afb81 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

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
üst 2c443df3
......@@ -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()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment