Hi,

Do you mean that it should be rendered like:
<input type=“date” …/>?

If so check that documentation page 
<https://docs.djangoproject.com/en/2.0/ref/forms/widgets/#django.forms.DateInput>.
It is said that DateInput renders as type=’text’.

If you are curios why it is done in that way, please ask at: 
django-develop...@googlegroups.com <mailto:django-develop...@googlegroups.com>

Regards,
Constantine C.

> On Jan 22, 2018, at 10:33 AM, Ruchit Bhatt <ruchitinnewfush...@gmail.com> 
> wrote:
> 
> forms.ModelForm

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/00B46B8B-BC43-4A03-85ED-1E756AEA13B0%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to