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:
parent
2c443df341
commit
c72afb811b
|
@ -804,8 +804,8 @@ def runserver(addr, port):
|
||||||
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()))
|
||||||
|
|
Loading…
Reference in New Issue