Fixed #3931 -- Corrected a typo noticed by Jorge Gajon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e725280cb1
commit
b30c505d0d
|
@ -1455,7 +1455,7 @@ u''
|
||||||
>>> f.clean('http://www.google.com') # This will fail if there's no Internet connection
|
>>> f.clean('http://www.google.com') # This will fail if there's no Internet connection
|
||||||
u'http://www.google.com'
|
u'http://www.google.com'
|
||||||
|
|
||||||
EmailField also access min_length and max_length parameters, for convenience.
|
URLField also access min_length and max_length parameters, for convenience.
|
||||||
>>> f = URLField(min_length=15, max_length=20)
|
>>> f = URLField(min_length=15, max_length=20)
|
||||||
>>> f.clean('http://f.com')
|
>>> f.clean('http://f.com')
|
||||||
Traceback (most recent call last):
|
Traceback (most recent call last):
|
||||||
|
|
Loading…
Reference in New Issue