Opened 11 years ago

Closed 11 years ago

#5119 closed (invalid)

Error in tutorial

Reported by: anonymous Owned by: Jacob
Component: Uncategorized Version: 0.96
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Error in tutorial at :

from django.db import models

class Poll(models.Model):

question = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')


max_length should be maxlength.

Change History (1)

comment:1 Changed 11 years ago by Matt McClanahan <cardinal@…>

Resolution: invalid
Status: newclosed

The argument was recently changed to max_length in the trunk version. See #2101 and [5803].

If you are using Django 0.96, the documentation you should use is

Note: See TracTickets for help on using tickets.
Back to Top