Merge pull request #3169 from DamianSkrzypczak/3168-improve-warning-about-dev-server-use-in-production

Fix dev-server warning message readability (#3168)
This commit is contained in:
David Lord 2019-05-16 19:23:19 -07:00 committed by GitHub
commit f2c854060a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: