Django DateField not saving the selected date from picker

前端 未结 0 1298
忘掉有多难
忘掉有多难 2021-02-14 16:46

I have a django model with some models.DateField and a default value. The forms.py looks like this:

class DateInput(forms.DateInput):
    input_type = \'date\'

c         


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