Permalink
Browse files

Fixed typo in internal CharField method

  • Loading branch information...
1 parent 20da67d commit 97a597132412b81298daab501498061e41c66cbe @qris qris committed with claudep Mar 4, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/db/models/fields/__init__.py
View
4 django/db/models/fields/__init__.py
@@ -1007,10 +1007,10 @@ def __init__(self, *args, **kwargs):
def check(self, **kwargs):
errors = super(CharField, self).check(**kwargs)
- errors.extend(self._check_max_length_attibute(**kwargs))
+ errors.extend(self._check_max_length_attribute(**kwargs))
return errors
- def _check_max_length_attibute(self, **kwargs):
+ def _check_max_length_attribute(self, **kwargs):
try:
max_length = int(self.max_length)
if max_length <= 0:

0 comments on commit 97a5971

Please sign in to comment.