Skip to content

Commit e7427cb

Browse files
committed
Fixed some ReST errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent fbd9381 commit e7427cb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/unicode.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ rendering or anywhere else -- you have two choices for encoding those strings.
4747
You 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
141142
possible on any input data that might be either Unicode or a bytestring, and
142143
from then on, you can treat the result as always being Unicode.
143144

145+
.. _lazy translation: ../i18n/#lazy-translation
146+
144147
URI and IRI handling
145148
~~~~~~~~~~~~~~~~~~~~
146149

@@ -260,7 +263,7 @@ something like "Jack visited Paris & Orléans". (In fact, the ``iri_to_uri()``
260263
call isn't strictly necessary in the above example, because all the
261264
non-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

265268
The database API
266269
================

0 commit comments

Comments
 (0)