Actually, use the DateField instead of the CharField so you get server side
validation of the date input. It should just render as a text input on the
front-end.
On May 27, 2015 01:40, "Peith Vergil" <peith.ver...@gmail.com> wrote:

> I don't think you do it with models. You do it with form fields. An easy
> way is to simply create a regular CharField, render it like usual. Then, on
> the front-end, you simply target that specific char field and initialize
> the datepicker on it.
> On May 27, 2015 01:31, "sum abiut" <suab...@gmail.com> wrote:
>
>> Hi,
>> Is there a way to implement jquery datepicker with Django models. I am
>> looking at http://jqueryui.com/datepicker/ but i am finding very
>> difficult to apply it to django models. any help will be very much
>> appreciated.
>>
>> Cheers
>>
>>
>>  --
>> 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 http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAPCf-y735T-8%3DNVdePFU7UEmN_9SQmsLj9uWUeCQ%2B-dRUMNYjQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAPCf-y735T-8%3DNVdePFU7UEmN_9SQmsLj9uWUeCQ%2B-dRUMNYjQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMHY-Kdie6Uc-qCbm6huoyG3Cu8Ez9Gsv9CVGYJEeJeXS2EM-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to