1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
Honza Král
83a3588ff7 [soc2009/model-validation] Fixed #11826 django.forms.fields.URLField rejects valid URLs with no abs_path component
Thanks wam

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-09-11 22:12:30 +00:00
Honza Král
f20e7fcdd2 [soc2009/model-validation] simple test for URLValidator, RegexValidator and BaseValidator
URL tests copied from tests/regressiontests/forms/fields.py

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-15 13:35:43 +00:00
Honza Král
7a6a71dd0c [soc2009/model-validation] tests for validate_comma_separated_integer_list
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-15 13:35:16 +00:00
Honza Král
15fb81c344 [soc2009/model-validation] test MinValueValidator, [Max|Min]LengthValidator
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-15 13:34:59 +00:00
Honza Král
0e3b83c315 [soc2009/model-validation] Added tests for MaxValueValidator
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-05 13:29:40 +00:00
Honza Král
6610e857e3 [soc2009/model-validation] Minor simplification of validator tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-05 13:29:24 +00:00
Honza Král
c1093ca87f [soc2009/model-validation] SlugField and IPAddressField now use validators.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-05 13:29:08 +00:00
Honza Král
9dee3b26e5 [soc2009/model-validation] Added tests for ComplexValidators
Also the tests for validators can now verify other exceptions and not
just ValidationError

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@10949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-08 00:56:01 +00:00
Honza Král
85e0c469aa [soc2009/model-validation] added validate_email validator
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@10910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-03 02:39:02 +00:00
Honza Král
14f9493380 [soc2009/model-validation] Added first validator with tests
No usefull error message yet, validator isn't used anywhere, just a
mockup basically

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@10898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-03 02:35:59 +00:00