Fix dev-server warning message readability (#3168)

This commit is contained in:
DamianSkrzypczak 2019-05-03 20:59:22 +02:00 committed by David Lord
parent ab3f922533
commit e2f4b53396
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8

View file

@ -644,8 +644,8 @@ def show_server_banner(env, debug, app_import_path, eager_loading):
if env == 'production':
click.secho(
' WARNING: Do not use the development server in a production'
' environment.', fg='red')
' WARNING: This is a development server. '
'Do not use it in a production deployment.', fg='red')
click.secho(' Use a production WSGI server instead.', dim=True)
if debug is not None: