File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ Templating
237
237
Most WSGI applications are responding to HTTP requests to serve
238
238
content in HTML or other markup languages. Instead of generating directly
239
239
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
241
241
template files, with a system of hierarchy and inclusion to
242
242
avoid unnecessary repetition, and is in charge of rendering
243
243
(generating) the actual content, filling the static content
@@ -264,7 +264,7 @@ and to the templates themselves.
264
264
templates. This convenience can lead to uncontrolled
265
265
increase in complexity, and often harder to find bugs.
266
266
267
- - It is often possible or necessary to mix javascript templates with
267
+ - It is often necessary to mix javascript templates with
268
268
HTML templates. A sane approach to this design is to isolate
269
269
the parts where the HTML template passes some variable content
270
270
to the javascript code.
You can’t perform that action at this time.
0 commit comments