Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
  • Loading branch information...
commit daeceafee6e7afb3bbe08a1ebd6eee589115de16 1 parent 75146a3
James Bennett authored February 01, 2010

Showing 1 changed file with 0 additions and 16 deletions. Show diff stats Hide diff stats

  1. 16  docs/intro/tutorial01.txt
16  docs/intro/tutorial01.txt
@@ -314,22 +314,6 @@ These concepts are represented by simple Python classes. Edit the
314 314
         choice = models.CharField(max_length=200)
315 315
         votes = models.IntegerField()
316 316
 
317  
-.. admonition:: Errors about :attr:`~django.db.models.Field.max_length`
318  
-
319  
-   If Django gives you an error message saying that
320  
-   :attr:`~django.db.models.Field.max_length` is not a valid argument, you're
321  
-   most likely using an old version of Django. (This version of the tutorial is
322  
-   written for the latest development version of Django.) If you're using a
323  
-   Subversion checkout of Django's development version (see :ref:`the
324  
-   installation docs <topics-install>` for more information), you shouldn't have
325  
-   any problems.
326  
-
327  
-   If you want to stick with an older version of Django, you'll want to switch
328  
-   to `the Django 0.96 tutorial`_, because this tutorial covers several features
329  
-   that only exist in the Django development version.
330  
-
331  
-.. _the Django 0.96 tutorial: http://www.djangoproject.com/documentation/0.96/tutorial01/
332  
-
333 317
 The code is straightforward. Each model is represented by a class that
334 318
 subclasses :class:`django.db.models.Model`. Each model has a number of class
335 319
 variables, each of which represents a database field in the model.

0 notes on commit daeceaf

Please sign in to comment.
Something went wrong with that request. Please try again.