File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ rendering or anywhere else -- you have two choices for encoding those strings.
4747You can use Unicode strings, or you can use normal strings (sometimes called
4848"bytestrings") that are encoded using UTF-8.
4949
50- .. warning::
50+ .. admonition:: Warning
51+
5152 A bytestring does not carry any information with it about its encoding.
5253 For that reason, we have to make an assumption, and Django assumes that all
5354 bytestrings are in UTF-8.
@@ -141,6 +142,8 @@ Normally, you'll only need to use ``smart_unicode()``. Call it as early as
141142possible on any input data that might be either Unicode or a bytestring, and
142143from then on, you can treat the result as always being Unicode.
143144
145+ .. _lazy translation: ../i18n/#lazy-translation
146+
144147URI and IRI handling
145148~~~~~~~~~~~~~~~~~~~~
146149
@@ -260,7 +263,7 @@ something like "Jack visited Paris & Orléans". (In fact, the ``iri_to_uri()``
260263call isn't strictly necessary in the above example, because all the
261264non-ASCII characters would have been removed in quoting in the first line.)
262265
263- .. _above: uri_and_iri_
266+ .. _above: `URI and IRI handling`_
264267
265268The database API
266269================
You can’t perform that action at this time.
0 commit comments