How to give dateinput from form. It doesnt show date input when we do {{form}}

How to give dateinput from form. It doesnt show date input when we do {{form}}

Hey @iambhushan,
For date input in form you have to first include forms.DateField( ) in forms.py and then make function in views,py and then write {{form}} in html. It will work.

Hello @iambhushan, you can also read about this https://simpleisbetterthancomplex.com/tutorial/2019/01/03/how-to-use-date-picker-with-django.html It is a good article about using dates.
Pls, give a read to it.
Thanks :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.