Django: How To Remove Invalid Dates From DateField

前端 未结 0 525
广开言路
广开言路 2021-01-11 18:31

My form allows users to input invalid dates like 31 of febuary, is there a way to exclude certain dates in a range?

models:

release_date = models.DateF         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题