Wednesday, May 27, 2015

Re: datepicker

Hey,

Look at the widgets in the fields forms:
https://docs.djangoproject.com/en/1.8/ref/forms/widgets/

Implement your own widget, so it includes the javascript
and the css your datepicker needs.

Then render it in your template (the medias included).

Have a good one

On 05/26/2015 07:30 PM, sum abiut 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+unsubscribe@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.
For more options, visit https://groups.google.com/d/optout.

--   aRkadeFR

No comments:

Post a Comment