﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35377	Add past and future validators for Date and DateTime fields	Jasurbek Yuldoshev	nobody	"I often see that validating date fields is quite repetitive, for example like this:

{{{
def validate_expiration_date(self, value: date) -> date:
        if value <= timezone.now().date():
            raise serializers.ValidationError(""Expiration Date must be in future"")

        return value
}}}

I thought maybe it would be good to have such validation rules out of the box of Django, such as `FutureDateValidator()`, `PastDateValidator()`."	New feature	closed	Core (Other)	5.0	Normal	wontfix			Unreviewed	0	0	0	0	0	0
