forked from orbit-oss/flask
Merge remote-tracking branch 'origin/2.1.x'
This commit is contained in:
commit
96d39c87a8
5 changed files with 275 additions and 279 deletions
|
|
@ -184,8 +184,8 @@ Replacing Content
|
|||
A response might be new HTML, either a new section of the page to add or
|
||||
replace, or an entirely new page. In general, if you're returning the
|
||||
entire page, it would be better to handle that with a redirect as shown
|
||||
in the previous section. The following example shows how to a ``<div>``
|
||||
with the HTML returned by a request.
|
||||
in the previous section. The following example shows how to replace a
|
||||
``<div>`` with the HTML returned by a request.
|
||||
|
||||
.. code-block:: html
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue