#9876: Incorrect max_length specification
---------------------------+------------------------------------------------
 Reporter:  dberger        |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Documentation  |     Version:  1.0       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 In tutorial 1, both development and v 0.96, the following code block is
 given.


 {{{
 from django.db import models

 class Poll(models.Model):
     question = models.CharField(maxlength=200)
     pub_date = models.DateTimeField('date published')

 class Choice(models.Model):
     poll = models.ForeignKey(Poll)
     choice = models.CharField(maxlength=200)
     votes = models.IntegerField()
 }}}

 I am using the latest non-development release, 1.0.2.  The necessary
 propert is max_length instead of maxlength.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9876>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to