if (!$) { $ = django.jQuery; } $(function(){ $('#id_datebegin_1').val('00:00:00'); $('#id_dateend_1').val('23:59:59'); });