Author: ubernostrum
Date: 2010-02-01 05:53:55 -0600 (Mon, 01 Feb 2010)
New Revision: 12363
Modified:
django/branches/releases/1.1.X/docs/intro/tutorial01.txt
Log:
[1.1.X] Fixed #12745: The maxlength -> max_length change happened in 2007, we
can probably stop mentioning it in the tutorial now. Backport of [12362] from
trunk.
Modified: django/branches/releases/1.1.X/docs/intro/tutorial01.txt
===================================================================
--- django/branches/releases/1.1.X/docs/intro/tutorial01.txt 2010-02-01
11:53:14 UTC (rev 12362)
+++ django/branches/releases/1.1.X/docs/intro/tutorial01.txt 2010-02-01
11:53:55 UTC (rev 12363)
@@ -314,22 +314,6 @@
choice = models.CharField(max_length=200)
votes = models.IntegerField()
-.. admonition:: Errors about :attr:`~django.db.models.Field.max_length`
-
- If Django gives you an error message saying that
- :attr:`~django.db.models.Field.max_length` is not a valid argument, 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 :ref:`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/
-
The code is straightforward. Each model is represented by a class that
subclasses :class:`django.db.models.Model`. Each model has a number of class
variables, each of which represents a database field in the model.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.