[Answered ]-Bootstrap-datepicker with django 1.4

2👍

For clarity. The datepicker in question is http://www.eyecon.ro/bootstrap-datepicker/

I have implemented this datepicker in my own project but only as part of a more complex JS usage. My call was something closer to:

$("#datepicker").datepicker({
    format: 'yyyy-mm-dd',
    weekStart: 1,
 });

I see no mention of a jQuery JS file which is required for the $() to work.

The runserver messages are completely normal. They are the HTTP calls that are received along with how they worked out, 200 and 304 means the files where found or did not need to be fetched again. So that is fine. Again, I don’t see your browser requesting jQuery so I think it might be missing.

To troubleshoot you should rather look for errors in your Javascript Console (in the browser) than in runserver.

Hope that helps.

Leave a comment