diff options
| author | Chris Beaven <smileychris@gmail.com> | 2010-11-17 02:25:20 +0000 |
|---|---|---|
| committer | Chris Beaven <smileychris@gmail.com> | 2010-11-17 02:25:20 +0000 |
| commit | 3e9d2f81c521ed8b5ec37cde1aeda91ee4f687c7 (patch) | |
| tree | b808935b3fc71557a4e070db858c8c42e31f8389 /docs/intro/tutorial01.txt | |
| parent | 5b4c6fd5e457236105dd0a6f9ade0060edb8af45 (diff) | |
Remove an obsolete admonition in tutorial one (referencing 0.96 functionality)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/intro/tutorial01.txt')
| -rw-r--r-- | docs/intro/tutorial01.txt | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index 9f36b3fff8..62f798f799 100644 --- a/docs/intro/tutorial01.txt +++ b/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: http://www.djangoproject.com/documentation/0.96/tutorial01/ - 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 |
