#35575: Add support for constraint validation on GeneratedFields
-------------------------------------+-------------------------------------
Reporter: Mark Gensler | Owner: Mark
| Gensler
Type: New feature | Status: assigned
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: generatedfield | Triage Stage: Accepted
uniqueconstraint checkconstraint |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mark Gensler):
Replying to [comment:9 Simon Charette]:
> FWIW I gave a shot at what I described above to ensure that it was
implementable and not too invasive and
[https://github.com/django/django/compare/main...charettes:django:ticket-35575
it was relatively straightforward]. I don't see why we shouldn't support
constraints over `GeneratedField` knowing that.
Thanks Simon, I will use what you've done as a starting point for the PR.
--
Ticket URL: <https://code.djangoproject.com/ticket/35575#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107019082290042-98d3539a-3bba-415b-9dfb-df5c5027dafa-000000%40eu-central-1.amazonses.com.