Fixed a broken link in docs/intro/tutorial01.txt.

This commit is contained in:
Tim Graham 2013-12-30 17:59:18 -05:00
parent df075c7489
commit ec020cab7e
1 changed files with 1 additions and 1 deletions

View File

@ -696,7 +696,7 @@ automatically-generated admin.
:meth:`~django.db.models.Model.__unicode__` and converts the result to a :meth:`~django.db.models.Model.__unicode__` and converts the result to a
UTF-8 bytestring. This means that ``unicode(p)`` will return a Unicode UTF-8 bytestring. This means that ``unicode(p)`` will return a Unicode
string, and ``str(p)`` will return a bytestring, with characters encoded string, and ``str(p)`` will return a bytestring, with characters encoded
as UTF-8. Python does the opposite: :class:`object` has a ``__unicode__`` as UTF-8. Python does the opposite: ``object`` has a ``__unicode__``
method that calls ``__str__`` and interprets the result as an ASCII method that calls ``__str__`` and interprets the result as an ASCII
bytestring. This difference can create confusion. bytestring. This difference can create confusion.