1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #36198 -- Implemented unresolved transform expression replacement.

This allows the proper resolving of F("field__transform") when
performing constraint validation.

Thanks Tom Hall for the report and Sarah for the test.
This commit is contained in:
Simon Charette
2025-02-18 12:43:38 -05:00
committed by Mariusz Felisiak
parent ff3aaf036f
commit fc30355107
4 changed files with 71 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ class UniqueConstraintProduct(models.Model):
name = models.CharField(max_length=255)
color = models.CharField(max_length=32, null=True)
age = models.IntegerField(null=True)
updated = models.DateTimeField(null=True)
class Meta:
constraints = [