From D.Edgar at f5.com Thu Jul 18 18:34:58 2019 From: D.Edgar at f5.com (Daniel Edgar) Date: Thu, 18 Jul 2019 18:34:58 +0000 Subject: Added application alias to make the Python application function in the Docker howto. Message-ID: # HG changeset patch # User Daniel Edgar # Date 1563474528 25200 # Thu Jul 18 11:28:48 2019 -0700 # Node ID 6f301c8192834d19a2c866ba79005613f8374e56 # Parent 3e0adcea05fd295ff84aa38c4259bf1fc0c3264f Added alias to make the Python application function in the Docker howto. diff --git a/source/howto/docker.rst b/source/howto/docker.rst --- a/source/howto/docker.rst +++ b/source/howto/docker.rst @@ -53,6 +53,7 @@ > from flask import Flask > app = Flask(__name__) + > application = app > > @app.route('/') > def hello_world(): -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: patch.diff Type: application/octet-stream Size: 596 bytes Desc: patch.diff URL: From artem.konev at nginx.com Fri Jul 19 09:53:44 2019 From: artem.konev at nginx.com (Artem Konev) Date: Fri, 19 Jul 2019 12:53:44 +0300 Subject: Added application alias to make the Python application function in the Docker howto. In-Reply-To: References: Message-ID: <3550CEE7-3C0B-4B3E-B800-3B8F60D807C8@nginx.com> Thank you, Daniel; this was a miss on my part. We've published the update with some changes in the commit message due to restrictions. > 18 ???? 2019 ?., ? 21:34, Daniel Edgar via unit ???????(?): > > # HG changeset patch > # User Daniel Edgar > # Date 1563474528 25200 > # Thu Jul 18 11:28:48 2019 -0700 > # Node ID 6f301c8192834d19a2c866ba79005613f8374e56 > # Parent 3e0adcea05fd295ff84aa38c4259bf1fc0c3264f > Added alias to make the Python application function in the Docker howto. > > diff --git a/source/howto/docker.rst b/source/howto/docker.rst > --- a/source/howto/docker.rst > +++ b/source/howto/docker.rst > @@ -53,6 +53,7 @@ > > > from flask import Flask > > app = Flask(__name__) > + > application = app > > > > @app.route('/') > > def hello_world(): > > _______________________________________________ > unit mailing list > unit at nginx.org > https://mailman.nginx.org/mailman/listinfo/unit ? Artem Konev Sr. Technical Writer