# Django date calendar form

**URL:** <https://forum.djangoproject.com/t/django-date-calendar-form/37773>\
**Category:** Forms & APIs\
**Created:** [January 7, 2025, 10:32pm UTC](https://forum.djangoproject.com/t/django-date-calendar-form/37773 "2025-01-07T22:32:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rzzz](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/rzzz/32/26165_2.png) [@Rzzz](https://forum.djangoproject.com/u/Rzzz)\
**Post date:** [January 7, 2025, 10:32pm UTC](https://forum.djangoproject.com/t/django-date-calendar-form/37773/1 "2025-01-07T22:32:27Z")

</div>

Hello, i am new to django and i could not find any available source yet to help me, so i would want to ask here. Can i add in a model form an date like calendar input, but the available dates to picked from to be displayed only from database??

Thank you

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [January 8, 2025, 12:14am UTC](https://forum.djangoproject.com/t/django-date-calendar-form/37773/2 "2025-01-08T00:14:23Z")

</div>

Welcome @Rzzz !

This really isn’t a Django issue. Something like a calendar input widget with that sort of configurability is going to require implementing an appropriate JavaScript-based widget. Getting that to work with Django would probably only be an issue of serving the appropriate widget on the page combined with rendering the necessary data as JSON data within the page.

---

<div class="post-metadata">

**Author:** ![Rzzz](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/rzzz/32/26165_2.png) [@Rzzz](https://forum.djangoproject.com/u/Rzzz)\
**Post date:** [January 11, 2025, 2:19pm UTC](https://forum.djangoproject.com/t/django-date-calendar-form/37773/3 "2025-01-11T14:19:58Z")

</div>

Thank you very much for this information. I’ve managed to do it. Cheers!
