Updating some models to use max_length instead of the deprecated maxlength.

This commit is contained in:
Greg Taylor 2008-02-09 02:35:28 +00:00
parent 57d7a8f41a
commit ea88ace9fa
3 changed files with 12 additions and 12 deletions

View file

@ -5,7 +5,7 @@ class HelpEntry(models.Model):
"""
A generic help entry.
"""
topicname = models.CharField(maxlength=255)
topicname = models.CharField(max_length=255)
entrytext = models.TextField(blank=True, null=True)
staff_only = models.BooleanField(default=0)