summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJames Bennett <ubernostrum@gmail.com>2010-02-01 11:53:55 +0000
committerJames Bennett <ubernostrum@gmail.com>2010-02-01 11:53:55 +0000
commitdaeceafee6e7afb3bbe08a1ebd6eee589115de16 (patch)
tree55e54b62d151e8cf561f74ec9441bb8ab251ec23 /docs
parent75146a3d7b85580244ebeda36241396290a0de15 (diff)
[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.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial01.txt16
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 74c86c6e90..eaf002d81a 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -314,22 +314,6 @@ These concepts are represented by simple Python classes. Edit the
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.