mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Small formatting changes to localflavor/cl/forms.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4bce3c17ec
commit
143270856b
@ -1,6 +1,7 @@
|
||||
"""
|
||||
Chile specific form helpers.
|
||||
"""
|
||||
|
||||
from django.newforms import ValidationError
|
||||
from django.newforms.fields import RegexField, EMPTY_VALUES
|
||||
from django.utils.translation import gettext
|
||||
@ -26,7 +27,7 @@ class CLRutField(RegexField):
|
||||
|
||||
def clean(self, value):
|
||||
"""
|
||||
Check and clean the chilean rut.
|
||||
Check and clean the Chilean RUT.
|
||||
"""
|
||||
super(CLRutField, self).clean(value)
|
||||
if value in EMPTY_VALUES:
|
||||
|
Loading…
Reference in New Issue
Block a user