mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #12467 -- Made the model data validation for DateField and DateTimeField more useful by actually telling what was the value that failed. Also did a bit of PEP8 cleanup in the area. Thanks to knutin for the report, to raulcd for the initial patch and to charettes for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -12,7 +12,7 @@ from modeltests.validation.validators import TestModelsWithValidators
|
||||
from modeltests.validation.test_unique import (GetUniqueCheckTests,
|
||||
PerformUniqueChecksTest)
|
||||
from modeltests.validation.test_custom_messages import CustomMessagesTest
|
||||
|
||||
from modeltests.validation.test_error_messages import ValidationMessagesTest
|
||||
|
||||
class BaseModelValidationTests(ValidationTestCase):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user