Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix dev-server warning message readability (#3168)

authored by David Lord · committed by GitHub · parents ab3f922, e2f4b53 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:flask/cli.py+2 added-2 removed
642 unmodified lines
643 click.echo(' * Environment: {0}'.format(env))644645 if env == 'production':646 click.secho(647 ' WARNING: Do not use the development server in a production'648 ' environment.', fg='red')647 ' WARNING: This is a development server. '648 'Do not use it in a production deployment.', fg='red')649 click.secho(' Use a production WSGI server instead.', dim=True)650651 if debug is not None:652 click.echo(' * Debug mode: {0}'.format('on' if debug else 'off'))
258 unmodified lines