mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #30581 -- Added support for Meta.constraints validation.
Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews.
This commit is contained in:
@@ -146,10 +146,6 @@ class PerformUniqueChecksTest(TestCase):
|
||||
mtv = ModelToValidate(number=10, name="Some Name")
|
||||
mtv.full_clean()
|
||||
|
||||
def test_func_unique_check_not_performed(self):
|
||||
with self.assertNumQueries(0):
|
||||
UniqueFuncConstraintModel(field="some name").full_clean()
|
||||
|
||||
def test_unique_for_date(self):
|
||||
Post.objects.create(
|
||||
title="Django 1.0 is released",
|
||||
|
||||
Reference in New Issue
Block a user