1
0
mirror of https://github.com/django/django.git synced 2025-10-25 14:46:09 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Honza Král
82c76b98cb [soc2009/model-validation] Split validation tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-08-05 01:27:56 +00:00
Honza Král
8d4417c75d [soc2009/model-validation] Added capacity for ComplexValidator handling to models
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-19 20:55:58 +00:00
Honza Král
ff0eff055e [soc2009/model-validation] Added min and max length validator. CharField now validates it's value's length using a validator.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-05 13:30:17 +00:00
Honza Král
cb7d3f2a0e [soc2009/model-validation] Validation test refactoring
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-07-05 13:28:41 +00:00
Honza Král
3a331970b4 [soc2009/model-validation] Added validators to DbFields
ComplexValidators are not yet run on the model and custom message
overring is still not in place

git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-18 00:59:07 +00:00
Honza Král
41bf859b67 [soc2009/model-validation] Make GetUniqueCheckTests proper testCase since it doesn't need DB
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@10885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-02 00:37:54 +00:00
Honza Král
ea52757c10 [soc2009/model-validation] Tests for Model._get_unique_checks
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@10883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-02 00:37:23 +00:00
Honza Král
eae2b9c149 [soc2009/model-validation] Added simple tests for ForeignKey validation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@10879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-01 15:42:29 +00:00
Honza Král
afcb3c8872 [soc2009/model-validation] moved validation tests to tests.py out of models.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@10878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-06-01 15:42:13 +00:00