Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[1.2.X] Remove an obsolete admonition in tutorial one (referencing 0.…

…96 functionality)

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 929b8ff3da31e1b143979a32659f741bbdf5d22b 1 parent 746ce7d
@SmileyChris SmileyChris authored
Showing with 0 additions and 16 deletions.
  1. +0 −16 docs/intro/tutorial01.txt
16 docs/intro/tutorial01.txt
@@ -566,22 +566,6 @@ of this object. Let's fix that by editing the polls model (in the
def __unicode__(self):
return self.choice
-.. admonition:: If :meth:`~django.db.models.Model.__unicode__` doesn't seem to work
- If you add the :meth:`~django.db.models.Model.__unicode__` method to your
- models and don't see any change in how they're represented, you're most
- likely using an old version of Django. (This version of the tutorial is
- written for the latest development version of Django.) If you're using a
- Subversion checkout of Django's development version (see :doc:`the
- installation docs </topics/install>` for more information), you shouldn't have
- any problems.
- If you want to stick with an older version of Django, you'll want to switch
- to `the Django 0.96 tutorial`_, because this tutorial covers several features
- that only exist in the Django development version.
-.. _the Django 0.96 tutorial:
It's important to add :meth:`~django.db.models.Model.__unicode__` methods to
your models, not only for your own sanity when dealing with the interactive
prompt, but also because objects' representations are used throughout Django's
Please sign in to comment.
Something went wrong with that request. Please try again.