Open dpeinado opened 10 years ago
Hey Diego, looks like jQuery may not be defined. I haven't tried this solution yet, but you could try looking at the following link for a proposed solution: https://github.com/asaglimbeni/django-datetime-widget/issues/61
+1 Same problem
Hello, thanks a lot for providing this kind of widget. I'm having a problem using this widget. I see the widget in the page with the icon. I push the icon and nothing occurs. I see in the debugger this error: TypeError: 'undefined' is not a function (evaluating '$("#f4f0d394302e4843a2f0863dd7c428ee").datetimepicker') global code (39, line 144)
I've tried to follow closely the example, but I do not know where the problem is. In the base template I have:
{{ form.media }}
Then in the template where these widgets are I have:
The form for the formset is:
class InsIndicForm(forms.ModelForm):
valor = forms.FloatField(widget=forms.TextInput(attrs={'size':'5'}))
Please, do you see where is the error?
Thanks in advance,
Diego.