Commit 2ab9c149409dff085d7bef022b53ee700961cf46

Authored by Claude Paroz
2 parents 8a99ed81 0b3375e9

Merge pull request #27 from collinanderson/patch-1

Updated obsolete maxlength to max_length
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