Commit 0b3375e959aa454225d851bc1f6c483a7bb5dcce

Authored by Collin Anderson
1 parent 8a99ed81

maxlength -> max_length. That's very old.

Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -21,7 +21,7 @@ a Weblog::
21 21 from django.db import models
22 22
23 23 class Entry(models.Model):
24   - title = models.CharField(maxlength=250)
  24 + title = models.CharField(max_length=250)
25 25 body = models.TextField()
26 26 pub_date = models.DateField()
27 27 enable_comments = models.BooleanField()
... ...
Please register or login to post a comment