Get datepicker defaultdate from string/django object
问题 I am a total (like no-experience-whatsoever) noob in jquery and Javascript, and what I would like to do is the following: I pass an article-object to my template that has date-information stored in it. I can access and display that information with {{ article.pubdate }} . Is it possible to set the defaultDate option of datepicker to the article date? How would I go about that? Thanks for any pointers! Update : Some more information about {{ article.pubdate }} : It is a datetime object. The