Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed Sphinx error in tutorial 1.

  • Loading branch information...
commit bc46f67fa83a82d48eafc0e3bbd368a3746e3936 1 parent 6c6c67f
@carljm carljm authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  docs/intro/tutorial01.txt
View
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.