Django DateField not saving the selected date from picker

前端 未结 0 971
醉梦人生
醉梦人生 2021-02-14 16:52

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         


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