summaryrefslogtreecommitdiff
path: root/tests/model_forms/models.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2025-06-13 02:11:04 -0400
committerGitHub <noreply@github.com>2025-06-13 08:11:04 +0200
commit3306b7283bc76a4e0cd647776fdc8b02d38d0935 (patch)
treeebedb644e1b63b88331a1a716966d0e26d84df28 /tests/model_forms/models.py
parentf2f6046c0f92ff1faed057da0711ac478eef439c (diff)
Refs #35676 -- Added supports_table_check_constraints skip to model_forms tests.
Diffstat (limited to 'tests/model_forms/models.py')
-rw-r--r--tests/model_forms/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/model_forms/models.py b/tests/model_forms/models.py
index 6d984379f0..f6c34a3521 100644
--- a/tests/model_forms/models.py
+++ b/tests/model_forms/models.py
@@ -529,6 +529,7 @@ class ConstraintsModel(models.Model):
price = models.DecimalField(max_digits=10, decimal_places=2, default=0)
class Meta:
+ required_db_features = {"supports_table_check_constraints"}
constraints = [
models.UniqueConstraint(
"name",