Kaydet (Commit) e7427cb2 authored tarafından Malcolm Tredinnick's avatar Malcolm Tredinnick

Fixed some ReST errors.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst fbd93818
...@@ -47,7 +47,8 @@ rendering or anywhere else -- you have two choices for encoding those strings. ...@@ -47,7 +47,8 @@ rendering or anywhere else -- you have two choices for encoding those strings.
You can use Unicode strings, or you can use normal strings (sometimes called You can use Unicode strings, or you can use normal strings (sometimes called
"bytestrings") that are encoded using UTF-8. "bytestrings") that are encoded using UTF-8.
.. warning:: .. admonition:: Warning
A bytestring does not carry any information with it about its encoding. A bytestring does not carry any information with it about its encoding.
For that reason, we have to make an assumption, and Django assumes that all For that reason, we have to make an assumption, and Django assumes that all
bytestrings are in UTF-8. bytestrings are in UTF-8.
...@@ -141,6 +142,8 @@ Normally, you'll only need to use ``smart_unicode()``. Call it as early as ...@@ -141,6 +142,8 @@ Normally, you'll only need to use ``smart_unicode()``. Call it as early as
possible on any input data that might be either Unicode or a bytestring, and possible on any input data that might be either Unicode or a bytestring, and
from then on, you can treat the result as always being Unicode. from then on, you can treat the result as always being Unicode.
.. _lazy translation: ../i18n/#lazy-translation
URI and IRI handling URI and IRI handling
~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~
...@@ -260,7 +263,7 @@ something like "Jack visited Paris & Orléans". (In fact, the ``iri_to_uri()`` ...@@ -260,7 +263,7 @@ something like "Jack visited Paris & Orléans". (In fact, the ``iri_to_uri()``
call isn't strictly necessary in the above example, because all the call isn't strictly necessary in the above example, because all the
non-ASCII characters would have been removed in quoting in the first line.) non-ASCII characters would have been removed in quoting in the first line.)
.. _above: uri_and_iri_ .. _above: `URI and IRI handling`_
The database API The database API
================ ================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment