We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b23d3e + b47eea6 commit ef93015Copy full SHA for ef93015
content/manuals/compose/gettingstarted.md
@@ -59,7 +59,7 @@ Make sure you have:
59
@app.route('/')
60
def hello():
61
count = get_hit_count()
62
- return 'Hello World! I have been seen {} times.\n'.format(count)
+ return f'Hello World! I have been seen {count} times.\n'
63
```
64
65
In this example, `redis` is the hostname of the redis container on the
@@ -273,7 +273,7 @@ To see Compose Watch in action:
273
message to `Hello from Docker!`:
274
275
```python
276
- return 'Hello from Docker! I have been seen {} times.\n'.format(count)
+ return f'Hello from Docker! I have been seen {count} times.\n'
277
278
279
2. Refresh the app in your browser. The greeting should be updated, and the
0 commit comments