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
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
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
3 matches
Mail list logo