Author: SmileyChris Date: 2010-11-16 20:25:20 -0600 (Tue, 16 Nov 2010) New Revision: 14585
Modified: django/trunk/docs/intro/tutorial01.txt Log: Remove an obsolete admonition in tutorial one (referencing 0.96 functionality) Modified: django/trunk/docs/intro/tutorial01.txt =================================================================== --- django/trunk/docs/intro/tutorial01.txt 2010-11-17 02:24:58 UTC (rev 14584) +++ django/trunk/docs/intro/tutorial01.txt 2010-11-17 02:25:20 UTC (rev 14585) @@ -566,22 +566,6 @@ 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 -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.