Re: ModelForm+datepicker
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 "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: ModelForm+datepicker
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 integrate datepicker in to template?". Or anybody can give me any example? How it works? Regards. 2010/3/10 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, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- http://www.arkeoloji.web.tr -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: ModelForm+datepicker
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, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
ModelForm+datepicker
Hi I have some ModelForm. I want to use in my templates (or views not sure cause i am a newbie) date selector. I search about that in google but there is not very clear information. Some of thems were for old old versions of dango. Regards... -- http://www.arkeoloji.web.tr -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.