mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
since refactoring we just need to print the address.
This commit is contained in:
parent
51a58e58c5
commit
b3341e3cbc
@ -58,10 +58,8 @@ class Command(BaseCommand):
|
|||||||
self.validate(display_num_errors=True)
|
self.validate(display_num_errors=True)
|
||||||
print "\nDjango version %s, using settings %r" % (django.get_version(), settings.SETTINGS_MODULE)
|
print "\nDjango version %s, using settings %r" % (django.get_version(), settings.SETTINGS_MODULE)
|
||||||
|
|
||||||
if isinstance(conf.address, basestring):
|
|
||||||
print "Development server is running at unix:/%s" % conf.address
|
print "Development server is running at %s" % str(conf.address)
|
||||||
else:
|
|
||||||
print "Development server is running at http://%s:%s/" % conf.address
|
|
||||||
print "Quit the server with %s." % quit_command
|
print "Quit the server with %s." % quit_command
|
||||||
|
|
||||||
# django.core.management.base forces the locale to en-us.
|
# django.core.management.base forces the locale to en-us.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user