Hmm just to add on. This not only happen with SelectDateWidget. It
happens with DateField with TextInput Widget too and also
ModelChoiceField. Saving all other fields work fine.
#these 2 >.<
country = forms.ModelChoiceField(queryset=Country.objects.all() )
birth_date = forms.DateField()
#When I
On Dec 5, 10:31 am, Stupid Dustbin <[EMAIL PROTECTED]>
wrote:
> Thanks for the reply. However, after updating to the latest SVN
> version of django. The same error still occurs. :(
I am using the same constructs with Django rev #6652 in production.
Perhaps you want to downgrade to that revision
Thanks for the reply. However, after updating to the latest SVN
version of django. The same error still occurs. :(
On Dec 1, 12:17 am, RajeshD <[EMAIL PROTECTED]> wrote:
> On Nov 29, 4:51 am, Stupid Dustbin <[EMAIL PROTECTED]>
> wrote:
>
> > Hi, encountered a problem recently withSelectDateWidget
On Nov 29, 4:51 am, Stupid Dustbin <[EMAIL PROTECTED]>
wrote:
> Hi, encountered a problem recently with SelectDateWidget. I'm not very
> sure what I did wrong.
Your usage of that widget is correct.
Note that a recent Django revision (the excellent "autoescape"
feature) had introduced a bug that
Hi, encountered a problem recently with SelectDateWidget. I'm not very
sure what I did wrong.
from django.newforms.extras.widgets import SelectDateWidget
#other imports
class JustAForm(forms.Form):
date_of_birth = forms.DateField(label = 'date of birth',widget =
SelectDateWidget(years = rang
5 matches
Mail list logo