summaryrefslogtreecommitdiff
path: root/docs/intro
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2013-05-07 18:18:42 -0600
committerCarl Meyer <carl@oddbird.net>2013-05-07 18:18:42 -0600
commitbc46f67fa83a82d48eafc0e3bbd368a3746e3936 (patch)
treeebe450f5701c86c36ec991257d54af02920275ee /docs/intro
parent6c6c67f5a6150ca89bbcfb06561a61d2cd7730cf (diff)
downloaddjango-bc46f67fa83a82d48eafc0e3bbd368a3746e3936.tar.gz
Fixed Sphinx error in tutorial 1.
Diffstat (limited to 'docs/intro')
-rw-r--r--docs/intro/tutorial01.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index a0e776ae69..d623bd8451 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -598,8 +598,7 @@ for your own sanity when dealing with the interactive prompt, but also because
objects' representations are used throughout Django's automatically-generated
admin.
-.. admonition:: :meth:`~django.db.models.Model.__unicode__` or
- :meth:`~django.db.models.Model.__str__`?
+.. admonition:: `__unicode__` or `__str__`?
On Python 3, things are simpler, just use
:meth:`~django.db.models.Model.__str__` and forget about