Skip to content

Commit bc2d338

Browse files
committed
Fixed grammar, added clarity
1 parent d244820 commit bc2d338

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/scenarios/web.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Templating
237237
Most WSGI applications are responding to HTTP requests to serve
238238
content in HTML or other markup languages. Instead of generating directly
239239
textual content from Python, the concept of separation of concerns
240-
advises us to use templates. A template engine manage a suite of
240+
advises us to use templates. A template engine manages a suite of
241241
template files, with a system of hierarchy and inclusion to
242242
avoid unnecessary repetition, and is in charge of rendering
243243
(generating) the actual content, filling the static content
@@ -264,7 +264,7 @@ and to the templates themselves.
264264
templates. This convenience can lead to uncontrolled
265265
increase in complexity, and often harder to find bugs.
266266

267-
- It is often possible or necessary to mix javascript templates with
267+
- It is often necessary to mix javascript templates with
268268
HTML templates. A sane approach to this design is to isolate
269269
the parts where the HTML template passes some variable content
270270
to the javascript code.

0 commit comments

Comments
 (0)