1
0
mirror of https://github.com/django/django.git synced 2024-11-19 07:54:07 +00:00
django/tests/modeltests/validation
Ramiro Morales 730769d1af Fixed #14951 -- Made the unique_for_{date,month,year} model field constraints to not fail when the related DateField is empty.
Existing modelforms tests were extended to cover this case and an equivalent set of tests was added for the model functionality.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-09 13:26:39 +00:00
..
__init__.py Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +00:00
models.py Fixed #14951 -- Made the unique_for_{date,month,year} model field constraints to not fail when the related DateField is empty. 2011-01-09 13:26:39 +00:00
test_custom_messages.py Fixed #12512. Changed ModelForm to stop performing model validation on fields that are not part of the form. Thanks, Honza Kral and Ivan Sagalaev. 2010-01-12 02:29:45 +00:00
test_unique.py Fixed #14951 -- Made the unique_for_{date,month,year} model field constraints to not fail when the related DateField is empty. 2011-01-09 13:26:39 +00:00
tests.py Fixed #5416 -- Added TestCase.assertNumQueries, which tests that a given function executes the correct number of queries. 2010-10-12 03:33:19 +00:00
validators.py Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +00:00