django-bootstrap3-datetimepicker icon indicating copy to clipboard operation
django-bootstrap3-datetimepicker copied to clipboard

Should not force <script> to be in <head>

Open ford-prefect opened this issue 10 years ago • 3 comments

It would be good to be able to push all the script bits created by django-bootstrap3-datetimepicker to the end of the file, rather than the beginning.

ford-prefect avatar May 31 '14 05:05 ford-prefect

Agree, we like our Django sites clean! A simular request has been here; https://github.com/nkunihiko/django-bootstrap3-datetimepicker/issues/4, but got sort of sent back in the field :) A fix would be very much appreciated - keep up the good work!!

planetcrypton avatar Jun 11 '14 10:06 planetcrypton

:+1:

bartgryszko avatar Jun 20 '14 10:06 bartgryszko

form.media.css will give you all the css, form.media.js will give you js. With this you can split the two and have the js includes at the end of the file. My problem is that the js that activated the datetimepicker is in the middle of the file, before jquery or bootstrap-datetimepicker.js get included.

barchiesi avatar Sep 06 '14 13:09 barchiesi