Skip to content

Commit 79ad59e

Browse files
committed
first set of typo fixes from Dan.
1 parent 7260a35 commit 79ad59e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/presentations/week05.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,8 @@ Routes Can Be Dynamic
451451
---------------------
452452

453453
You can provide *placeholders* in dynamic urls. Each *placeholder* is then a
454-
named arg to your function (add these to ``flask_intro.py``):
454+
named arg to your function (add these to ``flask_intro.py`` (and delete the
455+
1/0 bit)):
455456

456457
.. code-block:: python
457458
:class: incremental small
@@ -496,7 +497,7 @@ After adding that to ``flask_intro.py`` and saving, try loading
496497
Routes Can Be Reversed
497498
----------------------
498499

499-
Reversing a URL means the ability to generating the url that would result in a
500+
Reversing a URL means the ability to generate the url that would result in a
500501
given endpoint being called.
501502

502503
.. class:: incremental
@@ -590,7 +591,7 @@ There are a few basic things to know:
590591
* Variables in templates can be printed by surrounding the variable name with
591592
double curly braces: ``{{ name }}``.
592593
* If a variable points to something like a dictionary or object, you can use
593-
*either* dot or subscription notation: ``{{ obj[attr] }}``, ``{{ dict.key
594+
*either* dot or subscript notation: ``{{ obj[attr] }}``, ``{{ dict.key
594595
}}``.
595596
* Variables in templates can be *filtered*: ``{{ name|capitalize }}``. There
596597
is a list of builtin filters.

0 commit comments

Comments
 (0)