Re: ModelForm+datepicker

2010-03-10 Thread Shawn Milochik
The widget has nothing to do with the model. It needs to be specified in your forms.Form or forms.ModelForm. Remember that the model is all about the database table and the form is all about the HTML form. Shawn -- You received this message because you are subscribed to the Google Groups "Dj

Re: ModelForm+datepicker

2010-03-10 Thread H . İbrahim Yılmaz
Hi, I've already checked that and i got nothing :) I did in my model.py that: from django.forms.extras.widgets import SelectDateWidget date = forms.DateField(widget=SelectDateWidget()) But did not see the datepicker :S I got name error (forms) blabla? Is there any complete reference for "how to in

Re: ModelForm+datepicker

2010-03-10 Thread Shawn Milochik
Here you go: http://docs.djangoproject.com/en/1.1/ref/forms/widgets/ (Try searching http://docs.djangoproject.com/ before Google. It's really a great reference.) Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s