Opened 7 years ago
Last modified 7 years ago
#29860 closed New feature
Add ability to BaseValidator to accept a callable — at Initial Version
| Reported by: | Javier Buzzi | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
PR: https://github.com/django/django/pull/10522
Allow for MinValueValidation(datetime.datetime.now) or any other callable.
In-depth discussion: https://code.djangoproject.com/ticket/29852
Note:
See TracTickets
for help on using tickets.